#4E377E#4E377E
#4E377E is a dark, moderate violet. Relative luminance 0.059; OKLCH L 40.0% C 0.116 H 295.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4E377E |
|---|---|
| RGB | rgb(78, 55, 126) |
| HSL | hsl(259, 39%, 35%) |
| HSV | hsv(259, 56%, 49%) |
| CMYK | cmyk(38.1%, 56.3%, 0%, 50.6%) |
| CIE-LAB | lab(29.05, 27.40, -36.82) |
| CIE-LCH | lch(29.05, 45.90, 306.65°) |
| OKLab | oklab(39.98% 0.0501 -0.1043) |
| OKLCH | oklch(39.98% 0.116 295.7) |
| XYZ | xyz(8.2730, 5.8583, 20.4295) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.68
Blueberry
#464196
ΔE00 5.95
Rebeccapurple
#663399
ΔE00 6.46
Twilight
#4E518B
ΔE00 8.97
Ocean Blue
#4F42B5
ΔE00 9.60
Indigo
#4B0082
ΔE00 10.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E377E #677E37
analogous
#37437E #4E377E #72377E
triadic
#4E377E #7E4E37 #377E4E
tetradic
#4E377E #7E3743 #677E37 #377E72
square
#4E377E #7E3743 #677E37 #377E72
split-complementary
#4E377E #7E7237 #437E37
monochromatic
#191229 #342453 #4E377E #684AA9 #896FC0
Accessibility & contrast
On white
9.67
#4E377E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#4E377E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E377E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E377E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E377E | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#434655
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e377e; /* rgb */ color: rgb(78, 55, 126); /* oklch */ color: oklch(40.0% 0.116 295.7);
Tailwind
colors: {
custom: {
50: '#836ea4',
500: '#4e377e',
950: '#000000',
},
}SCSS
$custom: #4e377e; $custom-light: #836ea4; $custom-dark: #000000;
JSON
{
"hex": "#4e377e",
"rgb": {
"r": 78,
"g": 55,
"b": 126
},
"hsl": {
"h": 259.437,
"s": 39.227,
"l": 35.49
},
"oklch": {
"l": 0.39978,
"c": 0.11576,
"h": 295.7
},
"luminance": 0.05858
}Semantic roles & 50–950 ramp
primary
#4E377E
secondary
#94A968
accent
#CF59A9
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F