#5D209F#5D209F
#5D209F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.188 H 299.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5D209F |
|---|---|
| RGB | rgb(93, 32, 159) |
| HSL | hsl(269, 66%, 37%) |
| HSV | hsv(269, 80%, 62%) |
| CMYK | cmyk(41.5%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.06, 51.52, -57.09) |
| CIE-LCH | lch(29.06, 76.90, 312.06°) |
| OKLab | oklab(41.2% 0.0927 -0.1633) |
| OKLCH | oklch(41.2% 0.188 299.6) |
| XYZ | xyz(11.2871, 5.8632, 33.3312) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.38
Indigo Blue
#3A18B1
ΔE00 5.87
Violet Blue
#510AC9
ΔE00 6.13
Purple (survey)
#7E1E9C
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.46
Purple Blue
#5D21D0
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D209F #629F20
analogous
#20229F #5D209F #9D209F
triadic
#5D209F #9F5D20 #209F5D
tetradic
#5D209F #9F2022 #629F20 #209F9D
square
#5D209F #9F2022 #629F20 #209F9D
split-complementary
#5D209F #9F9D20 #229F20
monochromatic
#210B39 #3F166C #5D209F #7B2AD2 #9A5BDE
Accessibility & contrast
On white
9.67
#5D209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5D209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D209F
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D209F | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#4D4360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5d209f; /* rgb */ color: rgb(93, 32, 159); /* oklch */ color: oklch(41.2% 0.188 299.6);
Tailwind
colors: {
custom: {
50: '#9263bc',
500: '#5d209f',
950: '#000000',
},
}SCSS
$custom: #5d209f; $custom-light: #9263bc; $custom-dark: #000000;
JSON
{
"hex": "#5d209f",
"rgb": {
"r": 93,
"g": 32,
"b": 159
},
"hsl": {
"h": 268.819,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.412,
"c": 0.18777,
"h": 299.6
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#5D209F
secondary
#8FC259
accent
#E93E97
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81