#5F249C#5F249C
#5F249C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.181 H 301.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5F249C |
|---|---|
| RGB | rgb(95, 36, 156) |
| HSL | hsl(270, 63%, 38%) |
| HSV | hsv(270, 77%, 61%) |
| CMYK | cmyk(39.1%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(29.65, 49.45, -54.30) |
| CIE-LCH | lch(29.65, 73.44, 312.32°) |
| OKLab | oklab(41.59% 0.0932 -0.155) |
| OKLCH | oklch(41.59% 0.181 301) |
| XYZ | xyz(11.3495, 6.0949, 32.0245) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.49
Purple (survey)
#7E1E9C
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 6.66
Indigo
#4B0082
ΔE00 6.82
Violet Blue
#510AC9
ΔE00 6.91
Purple Blue
#5D21D0
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F249C #619C24
analogous
#24259C #5F249C #9B249C
triadic
#5F249C #9C5F24 #249C5F
tetradic
#5F249C #9C2425 #619C24 #249C9B
square
#5F249C #9C2425 #619C24 #249C9B
split-complementary
#5F249C #9C9B24 #259C24
monochromatic
#220D39 #41196A #5F249C #7D2FCE #9C60DA
Accessibility & contrast
On white
9.46
#5F249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5F249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F249C
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F249C | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#51435F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5f249c; /* rgb */ color: rgb(95, 36, 156); /* oklch */ color: oklch(41.6% 0.181 301.0);
Tailwind
colors: {
custom: {
50: '#9265ba',
500: '#5f249c',
950: '#000000',
},
}SCSS
$custom: #5f249c; $custom-light: #9265ba; $custom-dark: #000000;
JSON
{
"hex": "#5f249c",
"rgb": {
"r": 95,
"g": 36,
"b": 156
},
"hsl": {
"h": 269.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.41588,
"c": 0.18088,
"h": 301
},
"luminance": 0.06095
}Semantic roles & 50–950 ramp
primary
#5F249C
secondary
#8FBF5C
accent
#E64295
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81