#662194#662194
#662194 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.177 H 307.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #662194 |
|---|---|
| RGB | rgb(102, 33, 148) |
| HSL | hsl(276, 64%, 35%) |
| HSV | hsv(276, 78%, 58%) |
| CMYK | cmyk(31.1%, 77.7%, 0%, 42%) |
| CIE-LAB | lab(29.54, 50.05, -49.54) |
| CIE-LCH | lch(29.54, 70.42, 315.30°) |
| OKLab | oklab(41.52% 0.108 -0.1408) |
| OKLCH | oklch(41.52% 0.177 307.5) |
| XYZ | xyz(11.3675, 6.0508, 28.5803) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.59
Purple (survey)
#7E1E9C
ΔE00 4.42
Indigo
#4B0082
ΔE00 6.74
Purple
#800080
ΔE00 7.50
Darkmagenta
#8B008B
ΔE00 7.97
Darkish Purple
#751973
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#662194 #4F9421
analogous
#2C2194 #662194 #942188
triadic
#662194 #946621 #219466
tetradic
#662194 #942C21 #4F9421 #218894
square
#662194 #942C21 #4F9421 #218894
split-complementary
#662194 #889421 #21942C
monochromatic
#210B30 #441662 #662194 #882CC6 #A556D9
Accessibility & contrast
On white
9.50
#662194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#662194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #662194
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##662194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##662194 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#5E3E5A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #662194; /* rgb */ color: rgb(102, 33, 148); /* oklch */ color: oklch(41.5% 0.177 307.5);
Tailwind
colors: {
custom: {
50: '#9664b4',
500: '#662194',
950: '#000000',
},
}SCSS
$custom: #662194; $custom-light: #9664b4; $custom-dark: #000000;
JSON
{
"hex": "#662194",
"rgb": {
"r": 102,
"g": 33,
"b": 148
},
"hsl": {
"h": 276,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.41515,
"c": 0.17742,
"h": 307.5
},
"luminance": 0.06051
}Semantic roles & 50–950 ramp
primary
#662194
secondary
#7EBD54
accent
#E74183
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80