#571EA1#571EA1
#571EA1 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.191 H 296.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #571EA1 |
|---|---|
| RGB | rgb(87, 30, 161) |
| HSL | hsl(266, 69%, 37%) |
| HSV | hsv(266, 81%, 63%) |
| CMYK | cmyk(46%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(28.19, 51.91, -59.78) |
| CIE-LCH | lch(28.19, 79.17, 310.97°) |
| OKLab | oklab(40.48% 0.0844 -0.1713) |
| OKLCH | oklch(40.48% 0.191 296.2) |
| XYZ | xyz(10.8261, 5.5277, 34.2079) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.70
Rebeccapurple
#663399
ΔE00 5.34
Violet Blue
#510AC9
ΔE00 5.45
Indigo
#4B0082
ΔE00 6.17
Purple Blue
#5D21D0
ΔE00 6.53
Ultramarine
#2000B1
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#571EA1 #68A11E
analogous
#1E27A1 #571EA1 #991EA1
triadic
#571EA1 #A1571E #1EA157
tetradic
#571EA1 #A11E27 #68A11E #1EA199
square
#571EA1 #A11E27 #68A11E #1EA199
split-complementary
#571EA1 #A1991E #27A11E
monochromatic
#1F0B3A #3B146D #571EA1 #7328D5 #9459E0
Accessibility & contrast
On white
9.97
#571EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#571EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #571EA1
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##571EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##571EA1 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#424460
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #571ea1; /* rgb */ color: rgb(87, 30, 161); /* oklch */ color: oklch(40.5% 0.191 296.2);
Tailwind
colors: {
custom: {
50: '#8e62be',
500: '#571ea1',
950: '#000000',
},
}SCSS
$custom: #571ea1; $custom-light: #8e62be; $custom-dark: #000000;
JSON
{
"hex": "#571ea1",
"rgb": {
"r": 87,
"g": 30,
"b": 161
},
"hsl": {
"h": 266.107,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.40475,
"c": 0.19101,
"h": 296.2
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#571EA1
secondary
#94C457
accent
#EB3C9F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0512
muted
#7E7A81