#5E259F#5E259F
#5E259F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.183 H 299.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5E259F |
|---|---|
| RGB | rgb(94, 37, 159) |
| HSL | hsl(268, 62%, 38%) |
| HSV | hsv(268, 77%, 62%) |
| CMYK | cmyk(40.9%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(29.93, 49.59, -55.68) |
| CIE-LCH | lch(29.93, 74.56, 311.69°) |
| OKLab | oklab(41.83% 0.09 -0.1592) |
| OKLCH | oklch(41.83% 0.183 299.5) |
| XYZ | xyz(11.5341, 6.2059, 33.3843) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.58
Purple (survey)
#7E1E9C
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.29
Violet Blue
#510AC9
ΔE00 6.47
Purple Blue
#5D21D0
ΔE00 6.73
Indigo
#4B0082
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E259F #669F25
analogous
#25299F #5E259F #9B259F
triadic
#5E259F #9F5E25 #259F5E
tetradic
#5E259F #9F2529 #669F25 #259F9B
square
#5E259F #9F2529 #669F25 #259F9B
split-complementary
#5E259F #9F9B25 #299F25
monochromatic
#230E3C #41196D #5E259F #7B32CF #9B64DB
Accessibility & contrast
On white
9.37
#5E259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#5E259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E259F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E259F | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4E4561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5e259f; /* rgb */ color: rgb(94, 37, 159); /* oklch */ color: oklch(41.8% 0.183 299.5);
Tailwind
colors: {
custom: {
50: '#9266bc',
500: '#5e259f',
950: '#000000',
},
}SCSS
$custom: #5e259f; $custom-light: #9266bc; $custom-dark: #000000;
JSON
{
"hex": "#5e259f",
"rgb": {
"r": 94,
"g": 37,
"b": 159
},
"hsl": {
"h": 268.033,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.41831,
"c": 0.18284,
"h": 299.5
},
"luminance": 0.06206
}Semantic roles & 50–950 ramp
primary
#5E259F
secondary
#93C05F
accent
#E54299
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81