#4E397E#4E397E
#4E397E is a dark, moderate violet. Relative luminance 0.061; OKLCH L 40.3% C 0.112 H 294.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4E397E |
|---|---|
| RGB | rgb(78, 57, 126) |
| HSL | hsl(258, 38%, 36%) |
| HSV | hsv(258, 55%, 49%) |
| CMYK | cmyk(38.1%, 54.8%, 0%, 50.6%) |
| CIE-LAB | lab(29.54, 26.14, -36.03) |
| CIE-LCH | lch(29.54, 44.52, 305.96°) |
| OKLab | oklab(40.34% 0.0474 -0.102) |
| OKLCH | oklch(40.34% 0.112 294.9) |
| XYZ | xyz(8.3699, 6.0522, 20.4618) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.46
Blueberry
#464196
ΔE00 5.72
Rebeccapurple
#663399
ΔE00 6.78
Twilight
#4E518B
ΔE00 8.37
Ocean Blue
#4F42B5
ΔE00 9.55
Dusk
#4E5481
ΔE00 9.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E397E #697E39
analogous
#39467E #4E397E #70397E
triadic
#4E397E #7E4E39 #397E4E
tetradic
#4E397E #7E3946 #697E39 #397E70
square
#4E397E #7E3946 #697E39 #397E70
split-complementary
#4E397E #7E7039 #467E39
monochromatic
#1A132A #342654 #4E397E #684CA8 #8A72BF
Accessibility & contrast
On white
9.50
#4E397E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4E397E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E397E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E397E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E397E | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#424756
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4e397e; /* rgb */ color: rgb(78, 57, 126); /* oklch */ color: oklch(40.3% 0.112 294.9);
Tailwind
colors: {
custom: {
50: '#8370a4',
500: '#4e397e',
950: '#000000',
},
}SCSS
$custom: #4e397e; $custom-light: #8370a4; $custom-dark: #000000;
JSON
{
"hex": "#4e397e",
"rgb": {
"r": 78,
"g": 57,
"b": 126
},
"hsl": {
"h": 258.261,
"s": 37.705,
"l": 35.882
},
"oklch": {
"l": 0.40343,
"c": 0.11248,
"h": 294.9
},
"luminance": 0.06052
}Semantic roles & 50–950 ramp
primary
#4E397E
secondary
#96A86A
accent
#CE5AAB
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F