#64179E#64179E
#64179E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.196 H 304.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #64179E |
|---|---|
| RGB | rgb(100, 23, 158) |
| HSL | hsl(274, 75%, 35%) |
| HSV | hsv(274, 85%, 62%) |
| CMYK | cmyk(36.7%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(28.88, 55.51, -56.75) |
| CIE-LCH | lch(28.88, 79.38, 314.37°) |
| OKLab | oklab(41.25% 0.11 -0.162) |
| OKLCH | oklch(41.25% 0.196 304.2) |
| XYZ | xyz(11.7320, 5.7908, 32.8408) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.96
Purple (survey)
#7E1E9C
ΔE00 5.37
Indigo
#4B0082
ΔE00 6.23
Violet Blue
#510AC9
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 6.89
Purple Blue
#5D21D0
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#64179E #519E17
analogous
#20179E #64179E #9E1794
triadic
#64179E #9E6417 #179E64
tetradic
#64179E #9E2017 #519E17 #17949E
square
#64179E #9E2017 #519E17 #17949E
split-complementary
#64179E #949E17 #179E20
monochromatic
#200733 #420F69 #64179E #861FD3 #A34BE5
Accessibility & contrast
On white
9.73
#64179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#64179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #64179E
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##64179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##64179E | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#583E5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #64179e; /* rgb */ color: rgb(100, 23, 158); /* oklch */ color: oklch(41.3% 0.196 304.2);
Tailwind
colors: {
custom: {
50: '#9660bc',
500: '#64179e',
950: '#000000',
},
}SCSS
$custom: #64179e; $custom-light: #9660bc; $custom-dark: #000000;
JSON
{
"hex": "#64179e",
"rgb": {
"r": 100,
"g": 23,
"b": 158
},
"hsl": {
"h": 274.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.41253,
"c": 0.19581,
"h": 304.2
},
"luminance": 0.05791
}Semantic roles & 50–950 ramp
primary
#64179E
secondary
#80C64A
accent
#F13787
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81