#5E2EC9#5E2EC9
#5E2EC9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.219 H 288.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2EC9 |
|---|---|
| RGB | rgb(94, 46, 201) |
| HSL | hsl(259, 63%, 48%) |
| HSV | hsv(259, 77%, 79%) |
| CMYK | cmyk(53.2%, 77.1%, 0%, 21.2%) |
| CIE-LAB | lab(35.10, 56.57, -72.18) |
| CIE-LCH | lch(35.10, 91.70, 308.09°) |
| OKLab | oklab(46.61% 0.0712 -0.2076) |
| OKLCH | oklch(46.61% 0.219 288.9) |
| XYZ | xyz(16.1326, 8.5499, 56.0473) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.00
Blurple
#5539CC
ΔE00 2.61
Blue With A Hint Of Purple
#533CC6
ΔE00 3.32
Burple
#6832E3
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 4.05
Purpley Blue
#5F34E7
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2EC9 #99C92E
analogous
#2E4BC9 #5E2EC9 #AB2EC9
triadic
#5E2EC9 #C95E2E #2EC95E
tetradic
#5E2EC9 #C92E4B #99C92E #2EC9AB
square
#5E2EC9 #C92E4B #99C92E #2EC9AB
split-complementary
#5E2EC9 #C9AB2E #4BC92E
monochromatic
#2F1765 #472397 #5E2EC9 #825BD9 #A88DE5
Accessibility & contrast
On white
7.75
#5E2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#5E2EC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2EC9
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2EC9 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#345A7B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5e2ec9; /* rgb */ color: rgb(94, 46, 201); /* oklch */ color: oklch(46.6% 0.219 288.9);
Tailwind
colors: {
custom: {
50: '#976ddb',
500: '#5e2ec9',
950: '#000000',
},
}SCSS
$custom: #5e2ec9; $custom-light: #976ddb; $custom-dark: #000000;
JSON
{
"hex": "#5e2ec9",
"rgb": {
"r": 94,
"g": 46,
"b": 201
},
"hsl": {
"h": 258.581,
"s": 62.753,
"l": 48.431
},
"oklch": {
"l": 0.4661,
"c": 0.21946,
"h": 288.9
},
"luminance": 0.08551
}Semantic roles & 50–950 ramp
primary
#5E2EC9
secondary
#B8CF84
accent
#E642B3
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0715
muted
#7F7A83