#57219E#57219E
#57219E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.185 H 296.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #57219E |
|---|---|
| RGB | rgb(87, 33, 158) |
| HSL | hsl(266, 65%, 37%) |
| HSV | hsv(266, 79%, 62%) |
| CMYK | cmyk(44.9%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(28.33, 49.92, -57.71) |
| CIE-LCH | lch(28.33, 76.30, 310.86°) |
| OKLab | oklab(40.49% 0.0831 -0.1653) |
| OKLCH | oklch(40.49% 0.185 296.7) |
| XYZ | xyz(10.6443, 5.5823, 32.8578) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 5.10
Violet Blue
#510AC9
ΔE00 5.99
Indigo
#4B0082
ΔE00 6.18
Purple Blue
#5D21D0
ΔE00 6.88
Purple (survey)
#7E1E9C
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57219E #689E21
analogous
#212A9E #57219E #96219E
triadic
#57219E #9E5721 #219E57
tetradic
#57219E #9E212A #689E21 #219E96
square
#57219E #9E212A #689E21 #219E96
split-complementary
#57219E #9E9621 #2A9E21
monochromatic
#1F0C39 #3B166B #57219E #732CD1 #945CDD
Accessibility & contrast
On white
9.92
#57219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#57219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57219E
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57219E | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#44445F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #57219e; /* rgb */ color: rgb(87, 33, 158); /* oklch */ color: oklch(40.5% 0.185 296.7);
Tailwind
colors: {
custom: {
50: '#8e63bc',
500: '#57219e',
950: '#000000',
},
}SCSS
$custom: #57219e; $custom-light: #8e63bc; $custom-dark: #000000;
JSON
{
"hex": "#57219e",
"rgb": {
"r": 87,
"g": 33,
"b": 158
},
"hsl": {
"h": 265.92,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.40491,
"c": 0.18502,
"h": 296.7
},
"luminance": 0.05583
}Semantic roles & 50–950 ramp
primary
#57219E
secondary
#94C159
accent
#E83F9F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81