#5B209B#5B209B
#5B209B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.183 H 299.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5B209B |
|---|---|
| RGB | rgb(91, 32, 155) |
| HSL | hsl(269, 66%, 37%) |
| HSV | hsv(269, 79%, 61%) |
| CMYK | cmyk(41.3%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(28.44, 50.21, -55.68) |
| CIE-LCH | lch(28.44, 74.98, 312.04°) |
| OKLab | oklab(40.6% 0.0909 -0.1592) |
| OKLCH | oklch(40.6% 0.183 299.7) |
| XYZ | xyz(10.7458, 5.6236, 31.5233) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.44
Indigo Blue
#3A18B1
ΔE00 5.95
Indigo
#4B0082
ΔE00 5.97
Violet Blue
#510AC9
ΔE00 6.58
Purple (survey)
#7E1E9C
ΔE00 6.62
Purple Blue
#5D21D0
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B209B #609B20
analogous
#20239B #5B209B #99209B
triadic
#5B209B #9B5B20 #209B5B
tetradic
#5B209B #9B2023 #609B20 #209B99
square
#5B209B #9B2023 #609B20 #209B99
split-complementary
#5B209B #9B9920 #239B20
monochromatic
#1F0B36 #3D1668 #5B209B #792ACE #9859DD
Accessibility & contrast
On white
9.88
#5B209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#5B209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B209B
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B209B | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#4C415D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #5b209b; /* rgb */ color: rgb(91, 32, 155); /* oklch */ color: oklch(40.6% 0.183 299.7);
Tailwind
colors: {
custom: {
50: '#9063b9',
500: '#5b209b',
950: '#000000',
},
}SCSS
$custom: #5b209b; $custom-light: #9063b9; $custom-dark: #000000;
JSON
{
"hex": "#5b209b",
"rgb": {
"r": 91,
"g": 32,
"b": 155
},
"hsl": {
"h": 268.78,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.40599,
"c": 0.18332,
"h": 299.7
},
"luminance": 0.05624
}Semantic roles & 50–950 ramp
primary
#5B209B
secondary
#8EC156
accent
#E93F97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81