#5E3EC2#5E3EC2
#5E3EC2 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.194 H 287.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5E3EC2 |
|---|---|
| RGB | rgb(94, 62, 194) |
| HSL | hsl(255, 52%, 50%) |
| HSV | hsv(255, 68%, 76%) |
| CMYK | cmyk(51.5%, 68%, 0%, 23.9%) |
| CIE-LAB | lab(37.33, 46.61, -64.43) |
| CIE-LCH | lch(37.33, 79.53, 305.88°) |
| OKLab | oklab(48% 0.0597 -0.185) |
| OKLCH | oklch(48% 0.194 287.9) |
| XYZ | xyz(16.0735, 9.7192, 52.0575) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.20
Blue With A Hint Of Purple
#533CC6
ΔE00 1.79
Blurple
#5539CC
ΔE00 2.11
Ocean Blue
#4F42B5
ΔE00 3.28
Burple
#6832E3
ΔE00 4.74
Purpley Blue
#5F34E7
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E3EC2 #A2C23E
analogous
#3E60C2 #5E3EC2 #A03EC2
triadic
#5E3EC2 #C25E3E #3EC25E
tetradic
#5E3EC2 #C23E60 #A2C23E #3EC2A0
square
#5E3EC2 #C23E60 #A2C23E #3EC2A0
split-complementary
#5E3EC2 #C2A03E #60C23E
monochromatic
#312066 #472F94 #5E3EC2 #856DD1 #AC9BDF
Accessibility & contrast
On white
7.13
#5E3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#5E3EC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E3EC2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E3EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E3EC2 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#395F7B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5e3ec2; /* rgb */ color: rgb(94, 62, 194); /* oklch */ color: oklch(48.0% 0.194 287.9);
Tailwind
colors: {
custom: {
50: '#9576d5',
500: '#5e3ec2',
950: '#000000',
},
}SCSS
$custom: #5e3ec2; $custom-light: #9576d5; $custom-dark: #000000;
JSON
{
"hex": "#5e3ec2",
"rgb": {
"r": 94,
"g": 62,
"b": 194
},
"hsl": {
"h": 254.545,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.48,
"c": 0.19437,
"h": 287.9
},
"luminance": 0.0972
}Semantic roles & 50–950 ramp
primary
#5E3EC2
secondary
#BDCB90
accent
#DB4CB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83