#6C5995#6C5995
#6C5995 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 50.8% C 0.095 H 297.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5995 |
|---|---|
| RGB | rgb(108, 89, 149) |
| HSL | hsl(259, 25%, 47%) |
| HSV | hsv(259, 40%, 58%) |
| CMYK | cmyk(27.5%, 40.3%, 0%, 41.6%) |
| CIE-LAB | lab(42.00, 21.26, -30.19) |
| CIE-LCH | lch(42.00, 36.93, 305.15°) |
| OKLab | oklab(50.85% 0.0439 -0.0842) |
| OKLCH | oklch(50.85% 0.095 297.5) |
| XYZ | xyz(15.1803, 12.5027, 30.0414) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.76
Twilight
#4E518B
ΔE00 7.20
Dark Lavender
#856798
ΔE00 7.65
Muted Purple
#805B87
ΔE00 7.73
Dusk
#4E5481
ΔE00 7.87
Dusty Purple
#825F87
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5995 #829559
analogous
#596495 #6C5995 #8A5995
triadic
#6C5995 #956C59 #59956C
tetradic
#6C5995 #955964 #829559 #59958A
square
#6C5995 #955964 #829559 #59958A
split-complementary
#6C5995 #958A59 #649559
monochromatic
#342B48 #50426F #6C5995 #8C7BB0 #ADA1C7
Accessibility & contrast
On white
6.00
#6C5995 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#6C5995 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5995
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5995 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5995 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496397
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#646370
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6c5995; /* rgb */ color: rgb(108, 89, 149); /* oklch */ color: oklch(50.8% 0.095 297.5);
Tailwind
colors: {
custom: {
50: '#9788b4',
500: '#6c5995',
950: '#000000',
},
}SCSS
$custom: #6c5995; $custom-light: #9788b4; $custom-dark: #000000;
JSON
{
"hex": "#6c5995",
"rgb": {
"r": 108,
"g": 89,
"b": 149
},
"hsl": {
"h": 259,
"s": 25.21,
"l": 46.667
},
"oklch": {
"l": 0.50849,
"c": 0.09495,
"h": 297.5
},
"luminance": 0.12503
}Semantic roles & 50–950 ramp
primary
#6C5995
secondary
#ABB595
accent
#C266A5
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0B11
muted
#7E7C80