#5D219C#5D219C
#5D219C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.184 H 300.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5D219C |
|---|---|
| RGB | rgb(93, 33, 156) |
| HSL | hsl(269, 65%, 37%) |
| HSV | hsv(269, 79%, 61%) |
| CMYK | cmyk(40.4%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(28.94, 50.37, -55.47) |
| CIE-LCH | lch(28.94, 74.93, 312.24°) |
| OKLab | oklab(41.03% 0.0928 -0.1585) |
| OKLCH | oklch(41.03% 0.184 300.3) |
| XYZ | xyz(11.0573, 5.8151, 31.9859) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 6.20
Purple (survey)
#7E1E9C
ΔE00 6.29
Indigo
#4B0082
ΔE00 6.31
Violet Blue
#510AC9
ΔE00 6.61
Purple Blue
#5D21D0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D219C #609C21
analogous
#21239C #5D219C #9A219C
triadic
#5D219C #9C5D21 #219C5D
tetradic
#5D219C #9C2123 #609C21 #219C9A
square
#5D219C #9C2123 #609C21 #219C9A
split-complementary
#5D219C #9C9A21 #239C21
monochromatic
#210C37 #3F1669 #5D219C #7B2CCF #9A5BDC
Accessibility & contrast
On white
9.71
#5D219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#5D219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D219C
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D219C | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#4E425E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5d219c; /* rgb */ color: rgb(93, 33, 156); /* oklch */ color: oklch(41.0% 0.184 300.3);
Tailwind
colors: {
custom: {
50: '#9164ba',
500: '#5d219c',
950: '#000000',
},
}SCSS
$custom: #5d219c; $custom-light: #9164ba; $custom-dark: #000000;
JSON
{
"hex": "#5d219c",
"rgb": {
"r": 93,
"g": 33,
"b": 156
},
"hsl": {
"h": 269.268,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.41032,
"c": 0.18367,
"h": 300.3
},
"luminance": 0.05815
}Semantic roles & 50–950 ramp
primary
#5D219C
secondary
#8EC158
accent
#E84096
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81