#5D219F#5D219F
#5D219F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.187 H 299.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5D219F |
|---|---|
| RGB | rgb(93, 33, 159) |
| HSL | hsl(269, 66%, 38%) |
| HSV | hsv(269, 79%, 62%) |
| CMYK | cmyk(41.5%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.20, 51.12, -56.86) |
| CIE-LCH | lch(29.20, 76.46, 311.95°) |
| OKLab | oklab(41.3% 0.0919 -0.1626) |
| OKLCH | oklch(41.3% 0.187 299.5) |
| XYZ | xyz(11.3145, 5.9179, 33.3403) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.24
Indigo Blue
#3A18B1
ΔE00 5.91
Violet Blue
#510AC9
ΔE00 6.18
Purple (survey)
#7E1E9C
ΔE00 6.40
Indigo
#4B0082
ΔE00 6.57
Purple Blue
#5D21D0
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D219F #639F21
analogous
#21249F #5D219F #9C219F
triadic
#5D219F #9F5D21 #219F5D
tetradic
#5D219F #9F2124 #639F21 #219F9C
square
#5D219F #9F2124 #639F21 #219F9C
split-complementary
#5D219F #9F9C21 #249F21
monochromatic
#220C3A #3F166C #5D219F #7B2CD2 #9A5DDD
Accessibility & contrast
On white
9.62
#5D219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#5D219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D219F
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D219F | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#4D4360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5d219f; /* rgb */ color: rgb(93, 33, 159); /* oklch */ color: oklch(41.3% 0.187 299.5);
Tailwind
colors: {
custom: {
50: '#9264bc',
500: '#5d219f',
950: '#000000',
},
}SCSS
$custom: #5d219f; $custom-light: #9264bc; $custom-dark: #000000;
JSON
{
"hex": "#5d219f",
"rgb": {
"r": 93,
"g": 33,
"b": 159
},
"hsl": {
"h": 268.571,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.41298,
"c": 0.1868,
"h": 299.5
},
"luminance": 0.05918
}Semantic roles & 50–950 ramp
primary
#5D219F
secondary
#90C25A
accent
#E93F98
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81