#5F249B#5F249B
#5F249B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.180 H 301.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5F249B |
|---|---|
| RGB | rgb(95, 36, 155) |
| HSL | hsl(270, 62%, 37%) |
| HSV | hsv(270, 77%, 61%) |
| CMYK | cmyk(38.7%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(29.57, 49.20, -53.83) |
| CIE-LCH | lch(29.57, 72.92, 312.43°) |
| OKLab | oklab(41.5% 0.0934 -0.1537) |
| OKLCH | oklch(41.5% 0.18 301.3) |
| XYZ | xyz(11.2651, 6.0611, 31.5804) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.45
Purple (survey)
#7E1E9C
ΔE00 5.87
Indigo
#4B0082
ΔE00 6.75
Indigo Blue
#3A18B1
ΔE00 6.76
Violet Blue
#510AC9
ΔE00 7.06
Purple Blue
#5D21D0
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F249B #609B24
analogous
#24249B #5F249B #9B249B
triadic
#5F249B #9B5F24 #249B5F
tetradic
#5F249B #9B2424 #609B24 #249B9B
square
#5F249B #9B2424 #609B24 #249B9B
split-complementary
#5F249B #9B9B24 #249B24
monochromatic
#220D38 #411869 #5F249B #7D30CD #9C5FDA
Accessibility & contrast
On white
9.49
#5F249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#5F249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F249B
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F249B | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#52435E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5f249b; /* rgb */ color: rgb(95, 36, 155); /* oklch */ color: oklch(41.5% 0.180 301.3);
Tailwind
colors: {
custom: {
50: '#9265b9',
500: '#5f249b',
950: '#000000',
},
}SCSS
$custom: #5f249b; $custom-light: #9265b9; $custom-dark: #000000;
JSON
{
"hex": "#5f249b",
"rgb": {
"r": 95,
"g": 36,
"b": 155
},
"hsl": {
"h": 269.748,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.41502,
"c": 0.17982,
"h": 301.3
},
"luminance": 0.06061
}Semantic roles & 50–950 ramp
primary
#5F249B
secondary
#8EBF5C
accent
#E54295
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81