#66189E#66189E
#66189E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.6% C 0.195 H 305.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #66189E |
|---|---|
| RGB | rgb(102, 24, 158) |
| HSL | hsl(275, 74%, 36%) |
| HSV | hsv(275, 85%, 62%) |
| CMYK | cmyk(35.4%, 84.8%, 0%, 38%) |
| CIE-LAB | lab(29.28, 55.51, -56.09) |
| CIE-LCH | lch(29.28, 78.91, 314.70°) |
| OKLab | oklab(41.59% 0.1123 -0.1599) |
| OKLCH | oklch(41.59% 0.195 305.1) |
| XYZ | xyz(11.9763, 5.9467, 32.8580) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.75
Purple (survey)
#7E1E9C
ΔE00 4.97
Indigo
#4B0082
ΔE00 6.52
Violet Blue
#510AC9
ΔE00 6.84
Indigo Blue
#3A18B1
ΔE00 7.24
Purple Blue
#5D21D0
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66189E #509E18
analogous
#23189E #66189E #9E1893
triadic
#66189E #9E6618 #189E66
tetradic
#66189E #9E2318 #509E18 #18939E
square
#66189E #9E2318 #509E18 #18939E
split-complementary
#66189E #939E18 #189E23
monochromatic
#210834 #441069 #66189E #8820D3 #A54DE4
Accessibility & contrast
On white
9.59
#66189E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#66189E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66189E
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66189E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66189E | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#5B3E5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #66189e; /* rgb */ color: rgb(102, 24, 158); /* oklch */ color: oklch(41.6% 0.195 305.1);
Tailwind
colors: {
custom: {
50: '#9861bc',
500: '#66189e',
950: '#000000',
},
}SCSS
$custom: #66189e; $custom-light: #9861bc; $custom-dark: #000000;
JSON
{
"hex": "#66189e",
"rgb": {
"r": 102,
"g": 24,
"b": 158
},
"hsl": {
"h": 274.925,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.41591,
"c": 0.19545,
"h": 305.1
},
"luminance": 0.05947
}Semantic roles & 50–950 ramp
primary
#66189E
secondary
#7FC64C
accent
#F03885
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81