#5F259F#5F259F
#5F259F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.183 H 300.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5F259F |
|---|---|
| RGB | rgb(95, 37, 159) |
| HSL | hsl(269, 62%, 38%) |
| HSV | hsv(269, 77%, 62%) |
| CMYK | cmyk(40.3%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(30.06, 49.76, -55.46) |
| CIE-LCH | lch(30.06, 74.51, 311.90°) |
| OKLab | oklab(41.95% 0.0915 -0.1585) |
| OKLCH | oklch(41.95% 0.183 300) |
| XYZ | xyz(11.6373, 6.2591, 33.3892) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.48
Purple (survey)
#7E1E9C
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.45
Violet Blue
#510AC9
ΔE00 6.55
Purple Blue
#5D21D0
ΔE00 6.76
Indigo
#4B0082
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F259F #659F25
analogous
#25289F #5F259F #9C259F
triadic
#5F259F #9F5F25 #259F5F
tetradic
#5F259F #9F2528 #659F25 #259F9C
square
#5F259F #9F2528 #659F25 #259F9C
split-complementary
#5F259F #9F9C25 #289F25
monochromatic
#240E3C #41196D #5F259F #7D32CF #9C64DB
Accessibility & contrast
On white
9.33
#5F259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#5F259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F259F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F259F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#504561
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5f259f; /* rgb */ color: rgb(95, 37, 159); /* oklch */ color: oklch(42.0% 0.183 300.0);
Tailwind
colors: {
custom: {
50: '#9366bc',
500: '#5f259f',
950: '#000000',
},
}SCSS
$custom: #5f259f; $custom-light: #9366bc; $custom-dark: #000000;
JSON
{
"hex": "#5f259f",
"rgb": {
"r": 95,
"g": 37,
"b": 159
},
"hsl": {
"h": 268.525,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.41952,
"c": 0.18299,
"h": 300
},
"luminance": 0.06259
}Semantic roles & 50–950 ramp
primary
#5F259F
secondary
#92C05F
accent
#E54298
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81