#5D219E#5D219E
#5D219E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.186 H 299.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5D219E |
|---|---|
| RGB | rgb(93, 33, 158) |
| HSL | hsl(269, 65%, 37%) |
| HSV | hsv(269, 79%, 62%) |
| CMYK | cmyk(41.1%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(29.12, 50.87, -56.40) |
| CIE-LCH | lch(29.12, 75.95, 312.05°) |
| OKLab | oklab(41.21% 0.0922 -0.1613) |
| OKLCH | oklch(41.21% 0.186 299.8) |
| XYZ | xyz(11.2281, 5.8834, 32.8852) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.20
Indigo Blue
#3A18B1
ΔE00 6.00
Violet Blue
#510AC9
ΔE00 6.32
Purple (survey)
#7E1E9C
ΔE00 6.36
Indigo
#4B0082
ΔE00 6.48
Purple Blue
#5D21D0
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D219E #629E21
analogous
#21249E #5D219E #9C219E
triadic
#5D219E #9E5D21 #219E5D
tetradic
#5D219E #9E2124 #629E21 #219E9C
square
#5D219E #9E2124 #629E21 #219E9C
split-complementary
#5D219E #9E9C21 #249E21
monochromatic
#210C39 #3F166B #5D219E #7B2CD1 #9A5CDD
Accessibility & contrast
On white
9.65
#5D219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#5D219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D219E
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D219E | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#4D435F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5d219e; /* rgb */ color: rgb(93, 33, 158); /* oklch */ color: oklch(41.2% 0.186 299.8);
Tailwind
colors: {
custom: {
50: '#9164bc',
500: '#5d219e',
950: '#000000',
},
}SCSS
$custom: #5d219e; $custom-light: #9164bc; $custom-dark: #000000;
JSON
{
"hex": "#5d219e",
"rgb": {
"r": 93,
"g": 33,
"b": 158
},
"hsl": {
"h": 268.8,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.41209,
"c": 0.18577,
"h": 299.8
},
"luminance": 0.05883
}Semantic roles & 50–950 ramp
primary
#5D219E
secondary
#8FC159
accent
#E83F97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81