#571D9F#571D9F
#571D9F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.190 H 296.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #571D9F |
|---|---|
| RGB | rgb(87, 29, 159) |
| HSL | hsl(267, 69%, 37%) |
| HSV | hsv(267, 82%, 62%) |
| CMYK | cmyk(45.3%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(27.87, 51.79, -59.09) |
| CIE-LCH | lch(27.87, 78.57, 311.23°) |
| OKLab | oklab(40.2% 0.0858 -0.1693) |
| OKLCH | oklch(40.2% 0.19 296.9) |
| XYZ | xyz(10.6262, 5.4079, 33.2781) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.86
Rebeccapurple
#663399
ΔE00 5.38
Violet Blue
#510AC9
ΔE00 5.70
Indigo
#4B0082
ΔE00 5.84
Purple Blue
#5D21D0
ΔE00 6.86
Indigo (survey)
#380282
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#571D9F #659F1D
analogous
#1D249F #571D9F #981D9F
triadic
#571D9F #9F571D #1D9F57
tetradic
#571D9F #9F1D24 #659F1D #1D9F98
square
#571D9F #9F1D24 #659F1D #1D9F98
split-complementary
#571D9F #9F981D #249F1D
monochromatic
#1E0A37 #3B146B #571D9F #7326D3 #9456E0
Accessibility & contrast
On white
10.09
#571D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#571D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #571D9F
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##571D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##571D9F | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#43425F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #571d9f; /* rgb */ color: rgb(87, 29, 159); /* oklch */ color: oklch(40.2% 0.190 296.9);
Tailwind
colors: {
custom: {
50: '#8e61bc',
500: '#571d9f',
950: '#000000',
},
}SCSS
$custom: #571d9f; $custom-light: #8e61bc; $custom-dark: #000000;
JSON
{
"hex": "#571d9f",
"rgb": {
"r": 87,
"g": 29,
"b": 159
},
"hsl": {
"h": 266.769,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.40195,
"c": 0.18982,
"h": 296.9
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#571D9F
secondary
#92C454
accent
#EC3C9D
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81