#5F2499#5F2499
#5F2499 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.178 H 301.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2499 |
|---|---|
| RGB | rgb(95, 36, 153) |
| HSL | hsl(270, 62%, 37%) |
| HSV | hsv(270, 76%, 60%) |
| CMYK | cmyk(37.9%, 76.5%, 0%, 40%) |
| CIE-LAB | lab(29.40, 48.70, -52.88) |
| CIE-LCH | lch(29.40, 71.89, 312.65°) |
| OKLab | oklab(41.33% 0.0939 -0.1509) |
| OKLCH | oklch(41.33% 0.178 301.9) |
| XYZ | xyz(11.0986, 5.9945, 30.7032) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.40
Purple (survey)
#7E1E9C
ΔE00 5.81
Indigo
#4B0082
ΔE00 6.61
Indigo Blue
#3A18B1
ΔE00 6.98
Violet Blue
#510AC9
ΔE00 7.35
Purple Blue
#5D21D0
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2499 #5E9924
analogous
#242499 #5F2499 #992499
triadic
#5F2499 #995F24 #24995F
tetradic
#5F2499 #992424 #5E9924 #249999
square
#5F2499 #992424 #5E9924 #249999
split-complementary
#5F2499 #999924 #249924
monochromatic
#210D36 #401867 #5F2499 #7E30CB #9C5ED9
Accessibility & contrast
On white
9.55
#5F2499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#5F2499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2499
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2499 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#52425D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #5f2499; /* rgb */ color: rgb(95, 36, 153); /* oklch */ color: oklch(41.3% 0.178 301.9);
Tailwind
colors: {
custom: {
50: '#9265b8',
500: '#5f2499',
950: '#000000',
},
}SCSS
$custom: #5f2499; $custom-light: #9265b8; $custom-dark: #000000;
JSON
{
"hex": "#5f2499",
"rgb": {
"r": 95,
"g": 36,
"b": 153
},
"hsl": {
"h": 270.256,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.41332,
"c": 0.1777,
"h": 301.9
},
"luminance": 0.05995
}Semantic roles & 50–950 ramp
primary
#5F2499
secondary
#8CBE5B
accent
#E54393
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80