#5E4E7D#5E4E7D
#5E4E7D is a mid, moderate violet. Relative luminance 0.093; OKLCH L 46.0% C 0.077 H 299.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4E7D |
|---|---|
| RGB | rgb(94, 78, 125) |
| HSL | hsl(260, 23%, 40%) |
| HSV | hsv(260, 38%, 49%) |
| CMYK | cmyk(24.8%, 37.6%, 0%, 51%) |
| CIE-LAB | lab(36.57, 17.36, -24.20) |
| CIE-LCH | lch(36.57, 29.78, 305.66°) |
| OKLab | oklab(46.01% 0.0373 -0.0672) |
| OKLCH | oklch(46.01% 0.077 299) |
| XYZ | xyz(11.0413, 9.3091, 20.6132) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 6.50
Twilight
#4E518B
ΔE00 6.64
Muted Purple
#805B87
ΔE00 8.91
Darkslateblue
#483D8B
ΔE00 9.12
Royal Purple
#7851A9
ΔE00 9.73
Dusty Purple
#825F87
ΔE00 9.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4E7D #6D7D4E
analogous
#4E557D #5E4E7D #764E7D
triadic
#5E4E7D #7D5E4E #4E7D5E
tetradic
#5E4E7D #7D4E55 #6D7D4E #4E7D76
square
#5E4E7D #7D4E55 #6D7D4E #4E7D76
split-complementary
#5E4E7D #7D764E #557D4E
monochromatic
#251F32 #423657 #5E4E7D #7B68A1 #9C8DB8
Accessibility & contrast
On white
7.34
#5E4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#5E4E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E4E7D
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4E7D | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#58565F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5e4e7d; /* rgb */ color: rgb(94, 78, 125); /* oklch */ color: oklch(46.0% 0.077 299.0);
Tailwind
colors: {
custom: {
50: '#8c7fa3',
500: '#5e4e7d',
950: '#000000',
},
}SCSS
$custom: #5e4e7d; $custom-light: #8c7fa3; $custom-dark: #000000;
JSON
{
"hex": "#5e4e7d",
"rgb": {
"r": 94,
"g": 78,
"b": 125
},
"hsl": {
"h": 260.426,
"s": 23.153,
"l": 39.804
},
"oklch": {
"l": 0.46007,
"c": 0.07683,
"h": 299
},
"luminance": 0.09309
}Semantic roles & 50–950 ramp
primary
#5E4E7D
secondary
#99A582
accent
#C068A2
background
#F8F7FA
surface
#F0EEF3
border
#CBC9CD
text
#0C0A0F
muted
#7D7C7F