#66159E#66159E
#66159E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.4% C 0.198 H 305.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #66159E |
|---|---|
| RGB | rgb(102, 21, 158) |
| HSL | hsl(275, 77%, 35%) |
| HSV | hsv(275, 87%, 62%) |
| CMYK | cmyk(35.4%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(28.98, 56.38, -56.57) |
| CIE-LCH | lch(28.98, 79.87, 314.90°) |
| OKLab | oklab(41.38% 0.1142 -0.1614) |
| OKLCH | oklch(41.38% 0.198 305.3) |
| XYZ | xyz(11.9178, 5.8298, 32.8385) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.07
Purple (survey)
#7E1E9C
ΔE00 5.09
Indigo
#4B0082
ΔE00 6.34
Violet Blue
#510AC9
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.21
Purple Blue
#5D21D0
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66159E #4D9E15
analogous
#21159E #66159E #9E1592
triadic
#66159E #9E6615 #159E66
tetradic
#66159E #9E2115 #4D9E15 #15929E
square
#66159E #9E2115 #4D9E15 #15929E
split-complementary
#66159E #929E15 #159E21
monochromatic
#200732 #430E68 #66159E #891CD4 #A547E7
Accessibility & contrast
On white
9.70
#66159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#66159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66159E
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66159E | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#5B3D5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #66159e; /* rgb */ color: rgb(102, 21, 158); /* oklch */ color: oklch(41.4% 0.198 305.3);
Tailwind
colors: {
custom: {
50: '#9860bc',
500: '#66159e',
950: '#000000',
},
}SCSS
$custom: #66159e; $custom-light: #9860bc; $custom-dark: #000000;
JSON
{
"hex": "#66159e",
"rgb": {
"r": 102,
"g": 21,
"b": 158
},
"hsl": {
"h": 275.474,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.41384,
"c": 0.1977,
"h": 305.3
},
"luminance": 0.0583
}Semantic roles & 50–950 ramp
primary
#66159E
secondary
#7CC747
accent
#F33583
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81