#5E4E8A#5E4E8A
#5E4E8A is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.7% C 0.096 H 294.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4E8A |
|---|---|
| RGB | rgb(94, 78, 138) |
| HSL | hsl(256, 28%, 42%) |
| HSV | hsv(256, 43%, 54%) |
| CMYK | cmyk(31.9%, 43.5%, 0%, 45.9%) |
| CIE-LAB | lab(37.23, 20.88, -31.14) |
| CIE-LCH | lch(37.23, 37.49, 303.84°) |
| OKLab | oklab(46.72% 0.0401 -0.0873) |
| OKLCH | oklch(46.72% 0.096 294.7) |
| XYZ | xyz(11.9268, 9.6633, 25.2767) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 4.85
Dusk
#4E5481
ΔE00 6.05
Darkslateblue
#483D8B
ΔE00 6.91
Royal Purple
#7851A9
ΔE00 7.34
Blueberry
#464196
ΔE00 7.45
Rebeccapurple
#663399
ΔE00 9.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4E8A #7A8A4E
analogous
#4E5C8A #5E4E8A #7C4E8A
triadic
#5E4E8A #8A5E4E #4E8A5E
tetradic
#5E4E8A #8A4E5C #7A8A4E #4E8A7C
square
#5E4E8A #8A4E5C #7A8A4E #4E8A7C
split-complementary
#5E4E8A #8A7C4E #5C8A4E
monochromatic
#29223C #433863 #5E4E8A #7C6AAB #9E91C1
Accessibility & contrast
On white
7.16
#5E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5E4E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E4E8A
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4E8A | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#545965
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5e4e8a; /* rgb */ color: rgb(94, 78, 138); /* oklch */ color: oklch(46.7% 0.096 294.7);
Tailwind
colors: {
custom: {
50: '#8d7fac',
500: '#5e4e8a',
950: '#000000',
},
}SCSS
$custom: #5e4e8a; $custom-light: #8d7fac; $custom-dark: #000000;
JSON
{
"hex": "#5e4e8a",
"rgb": {
"r": 94,
"g": 78,
"b": 138
},
"hsl": {
"h": 256,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.46722,
"c": 0.09605,
"h": 294.7
},
"luminance": 0.09663
}Semantic roles & 50–950 ramp
primary
#5E4E8A
secondary
#A3AE86
accent
#C464AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F