#5E4E97#5E4E97
#5E4E97 is a mid, moderate violet. Relative luminance 0.101; OKLCH L 47.5% C 0.115 H 291.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4E97 |
|---|---|
| RGB | rgb(94, 78, 151) |
| HSL | hsl(253, 32%, 45%) |
| HSV | hsv(253, 48%, 59%) |
| CMYK | cmyk(37.7%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(37.95, 24.56, -37.88) |
| CIE-LCH | lch(37.95, 45.15, 302.95°) |
| OKLab | oklab(47.5% 0.0421 -0.107) |
| OKLCH | oklch(47.5% 0.115 291.5) |
| XYZ | xyz(12.9249, 10.0625, 30.5334) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.81
Blueberry
#464196
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.08
Dusk
#4E5481
ΔE00 6.90
Ocean Blue
#4F42B5
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4E97 #87974E
analogous
#4E6297 #5E4E97 #834E97
triadic
#5E4E97 #975E4E #4E975E
tetradic
#5E4E97 #974E62 #87974E #4E9783
square
#5E4E97 #974E62 #87974E #4E9783
split-complementary
#5E4E97 #97834E #62974E
monochromatic
#2C2446 #45396F #5E4E97 #7D6EB4 #A296C9
Accessibility & contrast
On white
6.97
#5E4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#5E4E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4E97
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4E97 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345A9A
Deuteranopia (green-blind)
#355895
Tritanopia (blue-blind)
#505C6B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5e4e97; /* rgb */ color: rgb(94, 78, 151); /* oklch */ color: oklch(47.5% 0.115 291.5);
Tailwind
colors: {
custom: {
50: '#8e80b6',
500: '#5e4e97',
950: '#000000',
},
}SCSS
$custom: #5e4e97; $custom-light: #8e80b6; $custom-dark: #000000;
JSON
{
"hex": "#5e4e97",
"rgb": {
"r": 94,
"g": 78,
"b": 151
},
"hsl": {
"h": 253.151,
"s": 31.878,
"l": 44.902
},
"oklch": {
"l": 0.47503,
"c": 0.11495,
"h": 291.5
},
"luminance": 0.10063
}Semantic roles & 50–950 ramp
primary
#5E4E97
secondary
#ACB68B
accent
#C860B1
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0D0A11
muted
#7D7C80