#665286#665286
#665286 is a mid, moderate violet. Relative luminance 0.106; OKLCH L 48.1% C 0.085 H 301.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #665286 |
|---|---|
| RGB | rgb(102, 82, 134) |
| HSL | hsl(263, 24%, 42%) |
| HSV | hsv(263, 39%, 53%) |
| CMYK | cmyk(23.9%, 38.8%, 0%, 47.5%) |
| CIE-LAB | lab(38.86, 19.79, -26.08) |
| CIE-LCH | lch(38.86, 32.74, 307.20°) |
| OKLab | oklab(48.08% 0.0435 -0.0724) |
| OKLCH | oklch(48.08% 0.085 301) |
| XYZ | xyz(12.7989, 10.5806, 23.9176) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 7.07
Dusk
#4E5481
ΔE00 7.35
Muted Purple
#805B87
ΔE00 7.39
Royal Purple
#7851A9
ΔE00 7.78
Dusty Purple
#825F87
ΔE00 8.49
Dark Lavender
#856798
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665286 #728652
analogous
#525886 #665286 #805286
triadic
#665286 #866652 #528666
tetradic
#665286 #865258 #728652 #528680
square
#665286 #865258 #728652 #528680
split-complementary
#665286 #868052 #588652
monochromatic
#2C243A #493B60 #665286 #846FA7 #A495BE
Accessibility & contrast
On white
6.74
#665286 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#665286 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665286
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665286 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#605A65
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #665286; /* rgb */ color: rgb(102, 82, 134); /* oklch */ color: oklch(48.1% 0.085 301.0);
Tailwind
colors: {
custom: {
50: '#9383a9',
500: '#665286',
950: '#000000',
},
}SCSS
$custom: #665286; $custom-light: #9383a9; $custom-dark: #000000;
JSON
{
"hex": "#665286",
"rgb": {
"r": 102,
"g": 82,
"b": 134
},
"hsl": {
"h": 263.077,
"s": 24.074,
"l": 42.353
},
"oklch": {
"l": 0.48083,
"c": 0.08451,
"h": 301
},
"luminance": 0.10581
}Semantic roles & 50–950 ramp
primary
#665286
secondary
#9EAB89
accent
#C1679E
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0A10
muted
#7E7C7F