#665696#665696
#665696 is a mid, moderate violet. Relative luminance 0.117; OKLCH L 49.7% C 0.101 H 293.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #665696 |
|---|---|
| RGB | rgb(102, 86, 150) |
| HSL | hsl(255, 27%, 46%) |
| HSV | hsv(255, 43%, 59%) |
| CMYK | cmyk(32%, 42.7%, 0%, 41.2%) |
| CIE-LAB | lab(40.71, 21.57, -32.88) |
| CIE-LCH | lch(40.71, 39.32, 303.28°) |
| OKLab | oklab(49.74% 0.0409 -0.0921) |
| OKLCH | oklch(49.74% 0.101 293.9) |
| XYZ | xyz(14.3109, 11.6821, 30.3491) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.63
Twilight
#4E518B
ΔE00 5.68
Dusk
#4E5481
ΔE00 6.83
Iris
#6258C4
ΔE00 8.62
Blueberry
#464196
ΔE00 8.88
Darkslateblue
#483D8B
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665696 #869656
analogous
#566696 #665696 #865696
triadic
#665696 #966656 #569666
tetradic
#665696 #965666 #869656 #569686
square
#665696 #965666 #869656 #569686
split-complementary
#665696 #968656 #669656
monochromatic
#312948 #4C406F #665696 #8678B1 #A99FC8
Accessibility & contrast
On white
6.29
#665696 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#665696 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665696
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665696 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436198
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#5B626F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #665696; /* rgb */ color: rgb(102, 86, 150); /* oklch */ color: oklch(49.7% 0.101 293.9);
Tailwind
colors: {
custom: {
50: '#9385b5',
500: '#665696',
950: '#000000',
},
}SCSS
$custom: #665696; $custom-light: #9385b5; $custom-dark: #000000;
JSON
{
"hex": "#665696",
"rgb": {
"r": 102,
"g": 86,
"b": 150
},
"hsl": {
"h": 255,
"s": 27.119,
"l": 46.275
},
"oklch": {
"l": 0.49744,
"c": 0.10079,
"h": 293.9
},
"luminance": 0.11682
}Semantic roles & 50–950 ramp
primary
#665696
secondary
#ADB593
accent
#C364AC
background
#F9F8FB
surface
#F1EFF6
border
#CBCAD0
text
#0D0B11
muted
#7E7C80