#5E269E#5E269E
#5E269E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.181 H 299.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5E269E |
|---|---|
| RGB | rgb(94, 38, 158) |
| HSL | hsl(268, 61%, 38%) |
| HSV | hsv(268, 76%, 62%) |
| CMYK | cmyk(40.5%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(30.00, 48.89, -54.96) |
| CIE-LCH | lch(30.00, 73.56, 311.66°) |
| OKLab | oklab(41.85% 0.0894 -0.157) |
| OKLCH | oklch(41.85% 0.181 299.6) |
| XYZ | xyz(11.4792, 6.2344, 32.9397) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.38
Purple (survey)
#7E1E9C
ΔE00 6.19
Indigo Blue
#3A18B1
ΔE00 6.45
Violet Blue
#510AC9
ΔE00 6.68
Purple Blue
#5D21D0
ΔE00 6.89
Indigo
#4B0082
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E269E #669E26
analogous
#262A9E #5E269E #9A269E
triadic
#5E269E #9E5E26 #269E5E
tetradic
#5E269E #9E262A #669E26 #269E9A
square
#5E269E #9E262A #669E26 #269E9A
split-complementary
#5E269E #9E9A26 #2A9E26
monochromatic
#230E3B #411A6D #5E269E #7B33CE #9B65DA
Accessibility & contrast
On white
9.35
#5E269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#5E269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E269E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E269E | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#4F4560
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5e269e; /* rgb */ color: rgb(94, 38, 158); /* oklch */ color: oklch(41.9% 0.181 299.6);
Tailwind
colors: {
custom: {
50: '#9266bc',
500: '#5e269e',
950: '#000000',
},
}SCSS
$custom: #5e269e; $custom-light: #9266bc; $custom-dark: #000000;
JSON
{
"hex": "#5e269e",
"rgb": {
"r": 94,
"g": 38,
"b": 158
},
"hsl": {
"h": 268,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.41854,
"c": 0.18068,
"h": 299.6
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#5E269E
secondary
#93C060
accent
#E44399
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81