#66288E#66288E
#66288E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.163 H 308.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #66288E |
|---|---|
| RGB | rgb(102, 40, 142) |
| HSL | hsl(276, 56%, 36%) |
| HSV | hsv(276, 72%, 56%) |
| CMYK | cmyk(28.2%, 71.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.15, 45.64, -44.86) |
| CIE-LCH | lch(30.15, 63.99, 315.49°) |
| OKLab | oklab(41.8% 0.102 -0.1271) |
| OKLCH | oklch(41.8% 0.163 308.8) |
| XYZ | xyz(11.1198, 6.2955, 26.2153) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.96
Purple (survey)
#7E1E9C
ΔE00 4.57
Purple
#800080
ΔE00 7.28
Darkish Purple
#751973
ΔE00 7.39
Indigo
#4B0082
ΔE00 7.59
Darkmagenta
#8B008B
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66288E #508E28
analogous
#33288E #66288E #8E2883
triadic
#66288E #8E6628 #288E66
tetradic
#66288E #8E3328 #508E28 #28838E
square
#66288E #8E3328 #508E28 #28838E
split-complementary
#66288E #838E28 #288E33
monochromatic
#210D2F #441B5E #66288E #8835BE #A55FD2
Accessibility & contrast
On white
9.30
#66288E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#66288E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66288E
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66288E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66288E | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#603F58
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #66288e; /* rgb */ color: rgb(102, 40, 142); /* oklch */ color: oklch(41.8% 0.163 308.8);
Tailwind
colors: {
custom: {
50: '#9667b0',
500: '#66288e',
950: '#000000',
},
}SCSS
$custom: #66288e; $custom-light: #9667b0; $custom-dark: #000000;
JSON
{
"hex": "#66288e",
"rgb": {
"r": 102,
"g": 40,
"b": 142
},
"hsl": {
"h": 276.471,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.418,
"c": 0.16296,
"h": 308.8
},
"luminance": 0.06295
}Semantic roles & 50–950 ramp
primary
#66288E
secondary
#7FB75B
accent
#DF4884
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F