#5E4BA2#5E4BA2
#5E4BA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.7% C 0.135 H 290.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4BA2 |
|---|---|
| RGB | rgb(94, 75, 162) |
| HSL | hsl(253, 37%, 46%) |
| HSV | hsv(253, 54%, 64%) |
| CMYK | cmyk(42%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(37.88, 29.62, -44.62) |
| CIE-LCH | lch(37.88, 53.55, 303.58°) |
| OKLab | oklab(47.66% 0.0471 -0.1267) |
| OKLCH | oklch(47.66% 0.135 290.4) |
| XYZ | xyz(13.6520, 10.0200, 35.3902) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 5.06
Blueberry
#464196
ΔE00 5.10
Royal Purple
#7851A9
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.92
Twilight
#4E518B
ΔE00 6.36
Bluey Purple
#6241C7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4BA2 #8FA24B
analogous
#4B64A2 #5E4BA2 #8A4BA2
triadic
#5E4BA2 #A25E4B #4BA25E
tetradic
#5E4BA2 #A24B64 #8FA24B #4BA28A
square
#5E4BA2 #A24B64 #8FA24B #4BA28A
split-complementary
#5E4BA2 #A28A4B #64A24B
monochromatic
#2D244E #463878 #5E4BA2 #7F6EBC #A498CF
Accessibility & contrast
On white
6.99
#5E4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#5E4BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4BA2
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4BA2 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#4B5D6F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5e4ba2; /* rgb */ color: rgb(94, 75, 162); /* oklch */ color: oklch(47.7% 0.135 290.4);
Tailwind
colors: {
custom: {
50: '#907ebe',
500: '#5e4ba2',
950: '#000000',
},
}SCSS
$custom: #5e4ba2; $custom-light: #907ebe; $custom-dark: #000000;
JSON
{
"hex": "#5e4ba2",
"rgb": {
"r": 94,
"g": 75,
"b": 162
},
"hsl": {
"h": 253.103,
"s": 36.709,
"l": 46.471
},
"oklch": {
"l": 0.47662,
"c": 0.13517,
"h": 290.4
},
"luminance": 0.1002
}Semantic roles & 50–950 ramp
primary
#5E4BA2
secondary
#B2BC8D
accent
#CD5BB4
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81