Color
#6D5A99
Cool violet. Nearest reference color: Royal purple.
RGB
0–255CMYK
0–100%RGB describes how #6D5A99 is represented with light on digital screens. This color combines red 109, green 90 and blue 153.
CMYK describes the same color using the four components commonly used in printing: cyan 28.76%, magenta 41.18%, yellow 0% and black 40%.
HSL values
In the HSL color model, #6D5A99 has a hue of 258.1°, 25.93% saturation and 47.65% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#6D5A99 is a medium, cool violet with moderate chroma.
- Temperature
- Cool
- Lightness
- Medium
- Chroma
- Moderate
Color formats
Copy #6D5A99 in a format ready to use in CSS, design tools or other applications.
#6D5A99
rgb(109, 90, 153)
hsl(258.1 25.93% 47.65%)
oklch(0.513559 0.099132 296.6446)
--color: #6D5A99;
Tints of #6D5A99
Tints are lighter variations of #6D5A99. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #6D5A99
Shades are darker variations of #6D5A99. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #6D5A99
Tones reduce the chroma of #6D5A99, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #6D5A99
A continuous light-to-dark scale places #6D5A99 between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #F0EBFF;
--color-200: #D0BFFF;
--color-300: #AE9BE0;
--color-400: #8D7ABC;
--color-500: #6D5A99;
--color-600: #523E7B;
--color-700: #38245D;
--color-800: #210841;
--color-900: #09001B;
}
Colors that go with #6D5A99
Color harmonies for #6D5A99 are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.
Complementary
Opposite on the color wheel, creating the strongest direct hue contrast.
Triadic
Three evenly spaced hues that create a broader, balanced color relationship.
Split complementary
Two hues around the complementary color, providing contrast with more variation.
CSS gradients with #6D5A99
These gradients show how #6D5A99 moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.
Toward white
A light gradient that moves from the original color toward white.
background: linear-gradient(90deg, #6D5A99, #8F82B3, #B3AACC, #D8D4E6, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #6D5A99, #483B67, #261E38, #080510, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #6D5A99. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #FFFFFF . Relative luminance: 0.1286 .
Accessible CSS
Use the recommended text color with #6D5A99 as the background.
background-color: #6D5A99;
color: #FFFFFF;
Using #6D5A99 in design
See how #6D5A99 works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.
#6D5A99 used as a full background with its recommended text color.
Use #6D5A99 to emphasize selected interface elements without filling the entire surface.
Colors similar to #6D5A99
These nearby colors are generated from perceptual variations of #6D5A99, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #6D5A99 may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.
Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.
Advanced color values
Beyond RGB, CMYK and HSL, #6D5A99 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 15.7112
- Y
- 12.8633
- Z
- 31.7859
CIELAB
- L*
- 42.5565
- a*
- 22.0075
- b*
- -31.7153
OKLab
- L
- 0.513559
- a
- 0.044456
- b
- -0.088604
OKLCH
- L
- 0.513559
- C
- 0.099132
- H
- 296.6446°