#5E4E89#5E4E89
#5E4E89 is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.7% C 0.095 H 295.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4E89 |
|---|---|
| RGB | rgb(94, 78, 137) |
| HSL | hsl(256, 27%, 42%) |
| HSV | hsv(256, 43%, 54%) |
| CMYK | cmyk(31.4%, 43.1%, 0%, 46.3%) |
| CIE-LAB | lab(37.18, 20.60, -30.61) |
| CIE-LCH | lch(37.18, 36.90, 303.94°) |
| OKLab | oklab(46.67% 0.0399 -0.0858) |
| OKLCH | oklch(46.67% 0.095 295) |
| XYZ | xyz(11.8547, 9.6344, 24.8971) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.93
Dusk
#4E5481
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 7.03
Royal Purple
#7851A9
ΔE00 7.49
Blueberry
#464196
ΔE00 7.62
Rebeccapurple
#663399
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4E89 #79894E
analogous
#4E5C89 #5E4E89 #7C4E89
triadic
#5E4E89 #895E4E #4E895E
tetradic
#5E4E89 #894E5C #79894E #4E897C
square
#5E4E89 #894E5C #79894E #4E897C
split-complementary
#5E4E89 #897C4E #5C894E
monochromatic
#28223B #433862 #5E4E89 #7B6AAA #9E91C0
Accessibility & contrast
On white
7.17
#5E4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5E4E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E4E89
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4E89 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D588B
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#555965
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5e4e89; /* rgb */ color: rgb(94, 78, 137); /* oklch */ color: oklch(46.7% 0.095 295.0);
Tailwind
colors: {
custom: {
50: '#8d7fac',
500: '#5e4e89',
950: '#000000',
},
}SCSS
$custom: #5e4e89; $custom-light: #8d7fac; $custom-dark: #000000;
JSON
{
"hex": "#5e4e89",
"rgb": {
"r": 94,
"g": 78,
"b": 137
},
"hsl": {
"h": 256.271,
"s": 27.442,
"l": 42.157
},
"oklch": {
"l": 0.46665,
"c": 0.09458,
"h": 295
},
"luminance": 0.09635
}Semantic roles & 50–950 ramp
primary
#5E4E89
secondary
#A2AD86
accent
#C464AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F