#58219E#58219E
#58219E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.185 H 297.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #58219E |
|---|---|
| RGB | rgb(88, 33, 158) |
| HSL | hsl(266, 65%, 37%) |
| HSV | hsv(266, 79%, 62%) |
| CMYK | cmyk(44.3%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(28.46, 50.07, -57.50) |
| CIE-LCH | lch(28.46, 76.24, 311.05°) |
| OKLab | oklab(40.61% 0.0846 -0.1647) |
| OKLCH | oklch(40.61% 0.185 297.2) |
| XYZ | xyz(10.7383, 5.6308, 32.8622) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 5.25
Violet Blue
#510AC9
ΔE00 6.03
Indigo
#4B0082
ΔE00 6.22
Purple Blue
#5D21D0
ΔE00 6.87
Purple (survey)
#7E1E9C
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#58219E #679E21
analogous
#21299E #58219E #97219E
triadic
#58219E #9E5821 #219E58
tetradic
#58219E #9E2129 #679E21 #219E97
square
#58219E #9E2129 #679E21 #219E97
split-complementary
#58219E #9E9721 #299E21
monochromatic
#200C39 #3C166B #58219E #742CD1 #955CDD
Accessibility & contrast
On white
9.88
#58219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#58219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #58219E
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##58219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##58219E | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#45445F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #58219e; /* rgb */ color: rgb(88, 33, 158); /* oklch */ color: oklch(40.6% 0.185 297.2);
Tailwind
colors: {
custom: {
50: '#8e63bc',
500: '#58219e',
950: '#000000',
},
}SCSS
$custom: #58219e; $custom-light: #8e63bc; $custom-dark: #000000;
JSON
{
"hex": "#58219e",
"rgb": {
"r": 88,
"g": 33,
"b": 158
},
"hsl": {
"h": 266.4,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.40608,
"c": 0.18513,
"h": 297.2
},
"luminance": 0.05631
}Semantic roles & 50–950 ramp
primary
#58219E
secondary
#94C159
accent
#E83F9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81