#665B97#665B97
#665B97 is a mid, moderate violet. Relative luminance 0.125; OKLCH L 50.8% C 0.094 H 291.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #665B97 |
|---|---|
| RGB | rgb(102, 91, 151) |
| HSL | hsl(251, 25%, 47%) |
| HSV | hsv(251, 40%, 59%) |
| CMYK | cmyk(32.5%, 39.7%, 0%, 40.8%) |
| CIE-LAB | lab(42.06, 18.75, -31.34) |
| CIE-LCH | lch(42.06, 36.52, 300.90°) |
| OKLab | oklab(50.79% 0.0338 -0.0877) |
| OKLCH | oklch(50.79% 0.094 291.1) |
| XYZ | xyz(14.8051, 12.5410, 30.9128) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.80
Dusk
#4E5481
ΔE00 6.47
Royal Purple
#7851A9
ΔE00 6.75
Iris
#6258C4
ΔE00 8.70
Dark Lavender
#856798
ΔE00 8.87
Dusky Blue
#475F94
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665B97 #8C975B
analogous
#5B6E97 #665B97 #845B97
triadic
#665B97 #97665B #5B9766
tetradic
#665B97 #975B6E #8C975B #5B9784
square
#665B97 #975B6E #8C975B #5B9784
split-complementary
#665B97 #97845B #6E975B
monochromatic
#322D4B #4C4471 #665B97 #877EB1 #ABA4C8
Accessibility & contrast
On white
5.99
#665B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#665B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665B97
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665B97 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#5B6672
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #665b97; /* rgb */ color: rgb(102, 91, 151); /* oklch */ color: oklch(50.8% 0.094 291.1);
Tailwind
colors: {
custom: {
50: '#9389b6',
500: '#665b97',
950: '#000000',
},
}SCSS
$custom: #665b97; $custom-light: #9389b6; $custom-dark: #000000;
JSON
{
"hex": "#665b97",
"rgb": {
"r": 102,
"g": 91,
"b": 151
},
"hsl": {
"h": 251,
"s": 24.793,
"l": 47.451
},
"oklch": {
"l": 0.50791,
"c": 0.09397,
"h": 291.1
},
"luminance": 0.12541
}Semantic roles & 50–950 ramp
primary
#665B97
secondary
#B1B698
accent
#C167B1
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80