#66179F#66179F
#66179F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.6% C 0.197 H 304.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #66179F |
|---|---|
| RGB | rgb(102, 23, 159) |
| HSL | hsl(275, 75%, 36%) |
| HSV | hsv(275, 86%, 62%) |
| CMYK | cmyk(35.8%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.26, 56.03, -56.72) |
| CIE-LCH | lch(29.26, 79.73, 314.65°) |
| OKLab | oklab(41.61% 0.1127 -0.1618) |
| OKLCH | oklch(41.61% 0.197 304.8) |
| XYZ | xyz(12.0425, 5.9408, 33.3064) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.88
Purple (survey)
#7E1E9C
ΔE00 5.06
Indigo
#4B0082
ΔE00 6.53
Violet Blue
#510AC9
ΔE00 6.68
Indigo Blue
#3A18B1
ΔE00 7.14
Purple Blue
#5D21D0
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#66179F #509F17
analogous
#22179F #66179F #9F1794
triadic
#66179F #9F6617 #179F66
tetradic
#66179F #9F2217 #509F17 #17949F
square
#66179F #9F2217 #509F17 #17949F
split-complementary
#66179F #949F17 #179F22
monochromatic
#210834 #440F6A #66179F #881FD4 #A54BE5
Accessibility & contrast
On white
9.60
#66179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#66179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #66179F
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##66179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##66179F | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#5B3E5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #66179f; /* rgb */ color: rgb(102, 23, 159); /* oklch */ color: oklch(41.6% 0.197 304.8);
Tailwind
colors: {
custom: {
50: '#9861bc',
500: '#66179f',
950: '#000000',
},
}SCSS
$custom: #66179f; $custom-light: #9861bc; $custom-dark: #000000;
JSON
{
"hex": "#66179f",
"rgb": {
"r": 102,
"g": 23,
"b": 159
},
"hsl": {
"h": 274.853,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.41607,
"c": 0.19715,
"h": 304.8
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#66179F
secondary
#7FC74B
accent
#F13685
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81