#5D259F#5D259F
#5D259F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.183 H 299.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5D259F |
|---|---|
| RGB | rgb(93, 37, 159) |
| HSL | hsl(268, 62%, 38%) |
| HSV | hsv(268, 77%, 62%) |
| CMYK | cmyk(41.5%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(29.80, 49.42, -55.90) |
| CIE-LCH | lch(29.80, 74.61, 311.48°) |
| OKLab | oklab(41.71% 0.0885 -0.1598) |
| OKLCH | oklch(41.71% 0.183 299) |
| XYZ | xyz(11.4322, 6.1533, 33.3796) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.69
Indigo Blue
#3A18B1
ΔE00 6.13
Purple (survey)
#7E1E9C
ΔE00 6.40
Violet Blue
#510AC9
ΔE00 6.40
Purple Blue
#5D21D0
ΔE00 6.71
Indigo
#4B0082
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D259F #679F25
analogous
#252A9F #5D259F #9A259F
triadic
#5D259F #9F5D25 #259F5D
tetradic
#5D259F #9F252A #679F25 #259F9A
square
#5D259F #9F252A #679F25 #259F9A
split-complementary
#5D259F #9F9A25 #2A9F25
monochromatic
#230E3C #40196D #5D259F #7A32CF #9A64DB
Accessibility & contrast
On white
9.41
#5D259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5D259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D259F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D259F | 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)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4D4561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5d259f; /* rgb */ color: rgb(93, 37, 159); /* oklch */ color: oklch(41.7% 0.183 299.0);
Tailwind
colors: {
custom: {
50: '#9166bc',
500: '#5d259f',
950: '#000000',
},
}SCSS
$custom: #5d259f; $custom-light: #9166bc; $custom-dark: #000000;
JSON
{
"hex": "#5d259f",
"rgb": {
"r": 93,
"g": 37,
"b": 159
},
"hsl": {
"h": 267.541,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.41712,
"c": 0.18269,
"h": 299
},
"luminance": 0.06153
}Semantic roles & 50–950 ramp
primary
#5D259F
secondary
#94C05F
accent
#E5429B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81