#57167F#57167F
#57167F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.164 H 308.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #57167F |
|---|---|
| RGB | rgb(87, 22, 127) |
| HSL | hsl(277, 70%, 29%) |
| HSV | hsv(277, 83%, 50%) |
| CMYK | cmyk(31.5%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(24.10, 46.69, -45.39) |
| CIE-LCH | lch(24.10, 65.11, 315.81°) |
| OKLab | oklab(36.7% 0.101 -0.129) |
| OKLCH | oklch(36.7% 0.164 308) |
| XYZ | xyz(8.0473, 4.1325, 20.4483) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.62
Royal Purple (survey)
#4B006E
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 6.29
Rebeccapurple
#663399
ΔE00 7.04
Purple (survey)
#7E1E9C
ΔE00 7.93
Darkish Purple
#751973
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57167F #3E7F16
analogous
#23167F #57167F #7F1673
triadic
#57167F #7F5716 #167F57
tetradic
#57167F #7F2316 #3E7F16 #16737F
square
#57167F #7F2316 #3E7F16 #16737F
split-complementary
#57167F #737F16 #167F23
monochromatic
#12051A #330D4B #57167F #7B1FB3 #9C34DC
Accessibility & contrast
On white
11.50
#57167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#57167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57167F
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57167F | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#50324B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #57167f; /* rgb */ color: rgb(87, 22, 127); /* oklch */ color: oklch(36.7% 0.164 308.0);
Tailwind
colors: {
custom: {
50: '#8b5ca5',
500: '#57167f',
950: '#000000',
},
}SCSS
$custom: #57167f; $custom-light: #8b5ca5; $custom-dark: #000000;
JSON
{
"hex": "#57167f",
"rgb": {
"r": 87,
"g": 22,
"b": 127
},
"hsl": {
"h": 277.143,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.36698,
"c": 0.16387,
"h": 308
},
"luminance": 0.04132
}Semantic roles & 50–950 ramp
primary
#57167F
secondary
#6AB43D
accent
#ED3B7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F