#662190#662190
#662190 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.173 H 308.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #662190 |
|---|---|
| RGB | rgb(102, 33, 144) |
| HSL | hsl(277, 63%, 35%) |
| HSV | hsv(277, 77%, 56%) |
| CMYK | cmyk(29.2%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(29.23, 49.14, -47.58) |
| CIE-LCH | lch(29.23, 68.40, 315.92°) |
| OKLab | oklab(41.2% 0.1088 -0.135) |
| OKLCH | oklch(41.2% 0.173 308.9) |
| XYZ | xyz(11.0564, 5.9263, 26.9416) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.81
Purple (survey)
#7E1E9C
ΔE00 4.45
Indigo
#4B0082
ΔE00 6.66
Purple
#800080
ΔE00 7.05
Darkish Purple
#751973
ΔE00 7.53
Darkmagenta
#8B008B
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662190 #4B9021
analogous
#2E2190 #662190 #902183
triadic
#662190 #906621 #219066
tetradic
#662190 #902E21 #4B9021 #218390
square
#662190 #902E21 #4B9021 #218390
split-complementary
#662190 #839021 #21902E
monochromatic
#1F0A2C #43165E #662190 #892CC2 #A654D8
Accessibility & contrast
On white
9.61
#662190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#662190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662190
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662190 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#603C57
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #662190; /* rgb */ color: rgb(102, 33, 144); /* oklch */ color: oklch(41.2% 0.173 308.9);
Tailwind
colors: {
custom: {
50: '#9664b1',
500: '#662190',
950: '#000000',
},
}SCSS
$custom: #662190; $custom-light: #9664b1; $custom-dark: #000000;
JSON
{
"hex": "#662190",
"rgb": {
"r": 102,
"g": 33,
"b": 144
},
"hsl": {
"h": 277.297,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.41195,
"c": 0.17344,
"h": 308.9
},
"luminance": 0.05926
}Semantic roles & 50–950 ramp
primary
#662190
secondary
#7ABB51
accent
#E64280
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80