#5F209B#5F209B
#5F209B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.184 H 301.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F209B |
|---|---|
| RGB | rgb(95, 32, 155) |
| HSL | hsl(271, 66%, 37%) |
| HSV | hsv(271, 79%, 61%) |
| CMYK | cmyk(38.7%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(28.99, 50.87, -54.77) |
| CIE-LCH | lch(28.99, 74.75, 312.88°) |
| OKLab | oklab(41.1% 0.0969 -0.1564) |
| OKLCH | oklch(41.1% 0.184 301.8) |
| XYZ | xyz(11.1508, 5.8324, 31.5423) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.06
Purple (survey)
#7E1E9C
ΔE00 5.90
Indigo
#4B0082
ΔE00 6.26
Indigo Blue
#3A18B1
ΔE00 6.58
Violet Blue
#510AC9
ΔE00 6.86
Purple Blue
#5D21D0
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F209B #5C9B20
analogous
#22209B #5F209B #9B209A
triadic
#5F209B #9B5F20 #209B5F
tetradic
#5F209B #9B2220 #5C9B20 #209A9B
square
#5F209B #9B2220 #5C9B20 #209A9B
split-complementary
#5F209B #9A9B20 #209B22
monochromatic
#210B36 #401668 #5F209B #7E2ACE #9C59DD
Accessibility & contrast
On white
9.69
#5F209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#5F209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F209B
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F209B | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#52415D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #5f209b; /* rgb */ color: rgb(95, 32, 155); /* oklch */ color: oklch(41.1% 0.184 301.8);
Tailwind
colors: {
custom: {
50: '#9263b9',
500: '#5f209b',
950: '#000000',
},
}SCSS
$custom: #5f209b; $custom-light: #9263b9; $custom-dark: #000000;
JSON
{
"hex": "#5f209b",
"rgb": {
"r": 95,
"g": 32,
"b": 155
},
"hsl": {
"h": 270.732,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.41096,
"c": 0.18398,
"h": 301.8
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#5F209B
secondary
#8AC156
accent
#E93F92
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81