#5D209E#5D209E
#5D209E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.187 H 299.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5D209E |
|---|---|
| RGB | rgb(93, 32, 158) |
| HSL | hsl(269, 66%, 37%) |
| HSV | hsv(269, 80%, 62%) |
| CMYK | cmyk(41.1%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(28.98, 51.27, -56.63) |
| CIE-LCH | lch(28.98, 76.39, 312.16°) |
| OKLab | oklab(41.11% 0.093 -0.1619) |
| OKLCH | oklch(41.11% 0.187 299.9) |
| XYZ | xyz(11.2007, 5.8287, 32.8761) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 5.96
Violet Blue
#510AC9
ΔE00 6.28
Indigo
#4B0082
ΔE00 6.37
Purple (survey)
#7E1E9C
ΔE00 6.37
Purple Blue
#5D21D0
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D209E #619E20
analogous
#20229E #5D209E #9C209E
triadic
#5D209E #9E5D20 #209E5D
tetradic
#5D209E #9E2022 #619E20 #209E9C
square
#5D209E #9E2022 #619E20 #209E9C
split-complementary
#5D209E #9E9C20 #229E20
monochromatic
#210B38 #3F166B #5D209E #7B2AD1 #9A5BDE
Accessibility & contrast
On white
9.70
#5D209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5D209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D209E
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D209E | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#4E435F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5d209e; /* rgb */ color: rgb(93, 32, 158); /* oklch */ color: oklch(41.1% 0.187 299.9);
Tailwind
colors: {
custom: {
50: '#9263bc',
500: '#5d209e',
950: '#000000',
},
}SCSS
$custom: #5d209e; $custom-light: #9263bc; $custom-dark: #000000;
JSON
{
"hex": "#5d209e",
"rgb": {
"r": 93,
"g": 32,
"b": 158
},
"hsl": {
"h": 269.048,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.41111,
"c": 0.18674,
"h": 299.9
},
"luminance": 0.05829
}Semantic roles & 50–950 ramp
primary
#5D209E
secondary
#8FC258
accent
#E93F97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81