#665486#665486
#665486 is a mid, moderate violet. Relative luminance 0.109; OKLCH L 48.5% C 0.081 H 300.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #665486 |
|---|---|
| RGB | rgb(102, 84, 134) |
| HSL | hsl(262, 23%, 43%) |
| HSV | hsv(262, 37%, 53%) |
| CMYK | cmyk(23.9%, 37.3%, 0%, 47.5%) |
| CIE-LAB | lab(39.39, 18.55, -25.26) |
| CIE-LCH | lch(39.39, 31.34, 306.29°) |
| OKLab | oklab(48.48% 0.0404 -0.0701) |
| OKLCH | oklch(48.48% 0.081 300) |
| XYZ | xyz(12.9519, 10.8866, 23.9686) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 7.02
Dusk
#4E5481
ΔE00 7.05
Muted Purple
#805B87
ΔE00 7.25
Royal Purple
#7851A9
ΔE00 8.13
Dusty Purple
#825F87
ΔE00 8.23
Dark Lavender
#856798
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665486 #748654
analogous
#545B86 #665486 #7F5486
triadic
#665486 #866654 #548666
tetradic
#665486 #86545B #748654 #54867F
square
#665486 #86545B #748654 #54867F
split-complementary
#665486 #867F54 #5B8654
monochromatic
#2D253B #493C60 #665486 #8471A6 #A597BE
Accessibility & contrast
On white
6.61
#665486 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#665486 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665486
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665486 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665486 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#4B5C85
Tritanopia (blue-blind)
#605C67
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #665486; /* rgb */ color: rgb(102, 84, 134); /* oklch */ color: oklch(48.5% 0.081 300.0);
Tailwind
colors: {
custom: {
50: '#9284a9',
500: '#665486',
950: '#000000',
},
}SCSS
$custom: #665486; $custom-light: #9284a9; $custom-dark: #000000;
JSON
{
"hex": "#665486",
"rgb": {
"r": 102,
"g": 84,
"b": 134
},
"hsl": {
"h": 261.6,
"s": 22.936,
"l": 42.745
},
"oklch": {
"l": 0.48482,
"c": 0.08091,
"h": 300
},
"luminance": 0.10887
}Semantic roles & 50–950 ramp
primary
#665486
secondary
#9FAB8B
accent
#BF68A0
background
#F9F8FA
surface
#F1EFF4
border
#CBCACE
text
#0D0B10
muted
#7E7C7F