#571C9F#571C9F
#571C9F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.191 H 297.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #571C9F |
|---|---|
| RGB | rgb(87, 28, 159) |
| HSL | hsl(267, 70%, 37%) |
| HSV | hsv(267, 82%, 62%) |
| CMYK | cmyk(45.3%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.74, 52.17, -59.30) |
| CIE-LCH | lch(27.74, 78.98, 311.34°) |
| OKLab | oklab(40.1% 0.0865 -0.1699) |
| OKLCH | oklch(40.1% 0.191 297) |
| XYZ | xyz(10.6021, 5.3597, 33.2701) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.84
Rebeccapurple
#663399
ΔE00 5.50
Violet Blue
#510AC9
ΔE00 5.68
Indigo
#4B0082
ΔE00 5.75
Purple Blue
#5D21D0
ΔE00 6.89
Indigo (survey)
#380282
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#571C9F #649F1C
analogous
#1C239F #571C9F #991C9F
triadic
#571C9F #9F571C #1C9F57
tetradic
#571C9F #9F1C23 #649F1C #1C9F99
square
#571C9F #9F1C23 #649F1C #1C9F99
split-complementary
#571C9F #9F991C #239F1C
monochromatic
#1E0A37 #3B136B #571C9F #7325D3 #9454E1
Accessibility & contrast
On white
10.14
#571C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#571C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #571C9F
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##571C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##571C9F | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#43425F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #571c9f; /* rgb */ color: rgb(87, 28, 159); /* oklch */ color: oklch(40.1% 0.191 297.0);
Tailwind
colors: {
custom: {
50: '#8e61bc',
500: '#571c9f',
950: '#000000',
},
}SCSS
$custom: #571c9f; $custom-light: #8e61bc; $custom-dark: #000000;
JSON
{
"hex": "#571c9f",
"rgb": {
"r": 87,
"g": 28,
"b": 159
},
"hsl": {
"h": 267.023,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.40104,
"c": 0.19069,
"h": 297
},
"luminance": 0.0536
}Semantic roles & 50–950 ramp
primary
#571C9F
secondary
#91C453
accent
#ED3B9D
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81