#66179E#66179E
#66179E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.196 H 305.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #66179E |
|---|---|
| RGB | rgb(102, 23, 158) |
| HSL | hsl(275, 75%, 35%) |
| HSV | hsv(275, 85%, 62%) |
| CMYK | cmyk(35.4%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(29.17, 55.81, -56.25) |
| CIE-LCH | lch(29.17, 79.24, 314.77°) |
| OKLab | oklab(41.52% 0.113 -0.1604) |
| OKLCH | oklch(41.52% 0.196 305.2) |
| XYZ | xyz(11.9560, 5.9063, 32.8513) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.86
Purple (survey)
#7E1E9C
ΔE00 5.01
Indigo
#4B0082
ΔE00 6.45
Violet Blue
#510AC9
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 7.23
Purple Blue
#5D21D0
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66179E #4F9E17
analogous
#22179E #66179E #9E1792
triadic
#66179E #9E6617 #179E66
tetradic
#66179E #9E2217 #4F9E17 #17929E
square
#66179E #9E2217 #4F9E17 #17929E
split-complementary
#66179E #929E17 #179E22
monochromatic
#210733 #440F69 #66179E #881FD3 #A54BE5
Accessibility & contrast
On white
9.63
#66179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#66179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66179E
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66179E | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#5B3E5D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #66179e; /* rgb */ color: rgb(102, 23, 158); /* oklch */ color: oklch(41.5% 0.196 305.2);
Tailwind
colors: {
custom: {
50: '#9861bc',
500: '#66179e',
950: '#000000',
},
}SCSS
$custom: #66179e; $custom-light: #9861bc; $custom-dark: #000000;
JSON
{
"hex": "#66179e",
"rgb": {
"r": 102,
"g": 23,
"b": 158
},
"hsl": {
"h": 275.111,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.4152,
"c": 0.19623,
"h": 305.2
},
"luminance": 0.05906
}Semantic roles & 50–950 ramp
primary
#66179E
secondary
#7EC64A
accent
#F13784
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81