#5F259C#5F259C
#5F259C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.180 H 300.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5F259C |
|---|---|
| RGB | rgb(95, 37, 156) |
| HSL | hsl(269, 62%, 38%) |
| HSV | hsv(269, 76%, 61%) |
| CMYK | cmyk(39.1%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(29.80, 49.01, -54.05) |
| CIE-LCH | lch(29.80, 72.96, 312.20°) |
| OKLab | oklab(41.7% 0.0923 -0.1543) |
| OKLCH | oklch(41.7% 0.18 300.9) |
| XYZ | xyz(11.3802, 6.1562, 32.0348) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.33
Purple (survey)
#7E1E9C
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.72
Indigo
#4B0082
ΔE00 6.95
Violet Blue
#510AC9
ΔE00 6.97
Purple Blue
#5D21D0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F259C #629C25
analogous
#25269C #5F259C #9B259C
triadic
#5F259C #9C5F25 #259C5F
tetradic
#5F259C #9C2526 #629C25 #259C9B
square
#5F259C #9C2526 #629C25 #259C9B
split-complementary
#5F259C #9C9B25 #269C25
monochromatic
#230E39 #41196B #5F259C #7D31CD #9C62DA
Accessibility & contrast
On white
9.41
#5F259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5F259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F259C
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F259C | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#51445F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5f259c; /* rgb */ color: rgb(95, 37, 156); /* oklch */ color: oklch(41.7% 0.180 300.9);
Tailwind
colors: {
custom: {
50: '#9266ba',
500: '#5f259c',
950: '#000000',
},
}SCSS
$custom: #5f259c; $custom-light: #9266ba; $custom-dark: #000000;
JSON
{
"hex": "#5f259c",
"rgb": {
"r": 95,
"g": 37,
"b": 156
},
"hsl": {
"h": 269.244,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.41695,
"c": 0.17979,
"h": 300.9
},
"luminance": 0.06156
}Semantic roles & 50–950 ramp
primary
#5F259C
secondary
#90BF5E
accent
#E54396
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81