#5E209E#5E209E
#5E209E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.187 H 300.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5E209E |
|---|---|
| RGB | rgb(94, 32, 158) |
| HSL | hsl(270, 66%, 37%) |
| HSV | hsv(270, 80%, 62%) |
| CMYK | cmyk(40.5%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(29.11, 51.43, -56.40) |
| CIE-LCH | lch(29.11, 76.33, 312.36°) |
| OKLab | oklab(41.23% 0.0945 -0.1612) |
| OKLCH | oklch(41.23% 0.187 300.4) |
| XYZ | xyz(11.3026, 5.8812, 32.8808) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.24
Indigo Blue
#3A18B1
ΔE00 6.12
Purple (survey)
#7E1E9C
ΔE00 6.19
Violet Blue
#510AC9
ΔE00 6.35
Indigo
#4B0082
ΔE00 6.44
Purple Blue
#5D21D0
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E209E #609E20
analogous
#20219E #5E209E #9D209E
triadic
#5E209E #9E5E20 #209E5E
tetradic
#5E209E #9E2021 #609E20 #209E9D
square
#5E209E #9E2021 #609E20 #209E9D
split-complementary
#5E209E #9E9D20 #219E20
monochromatic
#210B38 #40166B #5E209E #7C2AD1 #9B5BDE
Accessibility & contrast
On white
9.65
#5E209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#5E209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E209E
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E209E | 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)
#4F425F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5e209e; /* rgb */ color: rgb(94, 32, 158); /* oklch */ color: oklch(41.2% 0.187 300.4);
Tailwind
colors: {
custom: {
50: '#9263bc',
500: '#5e209e',
950: '#000000',
},
}SCSS
$custom: #5e209e; $custom-light: #9263bc; $custom-dark: #000000;
JSON
{
"hex": "#5e209e",
"rgb": {
"r": 94,
"g": 32,
"b": 158
},
"hsl": {
"h": 269.524,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.41234,
"c": 0.18689,
"h": 300.4
},
"luminance": 0.05881
}Semantic roles & 50–950 ramp
primary
#5E209E
secondary
#8EC258
accent
#E93F95
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81