#5E259E#5E259E
#5E259E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.182 H 299.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E259E |
|---|---|
| RGB | rgb(94, 37, 158) |
| HSL | hsl(268, 62%, 38%) |
| HSV | hsv(268, 77%, 62%) |
| CMYK | cmyk(40.5%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(29.84, 49.34, -55.21) |
| CIE-LCH | lch(29.84, 74.04, 311.78°) |
| OKLab | oklab(41.75% 0.0903 -0.1578) |
| OKLCH | oklch(41.75% 0.182 299.8) |
| XYZ | xyz(11.4477, 6.1713, 32.9292) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.53
Purple (survey)
#7E1E9C
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.38
Violet Blue
#510AC9
ΔE00 6.61
Purple Blue
#5D21D0
ΔE00 6.89
Indigo
#4B0082
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E259E #659E25
analogous
#25299E #5E259E #9A259E
triadic
#5E259E #9E5E25 #259E5E
tetradic
#5E259E #9E2529 #659E25 #259E9A
square
#5E259E #9E2529 #659E25 #259E9A
split-complementary
#5E259E #9E9A25 #299E25
monochromatic
#230E3B #40196C #5E259E #7C31CF #9B63DA
Accessibility & contrast
On white
9.40
#5E259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5E259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E259E
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E259E | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#4F4560
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5e259e; /* rgb */ color: rgb(94, 37, 158); /* oklch */ color: oklch(41.7% 0.182 299.8);
Tailwind
colors: {
custom: {
50: '#9266bc',
500: '#5e259e',
950: '#000000',
},
}SCSS
$custom: #5e259e; $custom-light: #9266bc; $custom-dark: #000000;
JSON
{
"hex": "#5e259e",
"rgb": {
"r": 94,
"g": 37,
"b": 158
},
"hsl": {
"h": 268.264,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.41745,
"c": 0.18176,
"h": 299.8
},
"luminance": 0.06171
}Semantic roles & 50–950 ramp
primary
#5E259E
secondary
#92C05F
accent
#E54399
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81