#4E367E#4E367E
#4E367E is a dark, moderate violet. Relative luminance 0.058; OKLCH L 39.8% C 0.117 H 296.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4E367E |
|---|---|
| RGB | rgb(78, 54, 126) |
| HSL | hsl(260, 40%, 35%) |
| HSV | hsv(260, 57%, 49%) |
| CMYK | cmyk(38.1%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(28.81, 28.02, -37.21) |
| CIE-LCH | lch(28.81, 46.58, 306.98°) |
| OKLab | oklab(39.8% 0.0515 -0.1055) |
| OKLCH | oklch(39.8% 0.117 296) |
| XYZ | xyz(8.2260, 5.7643, 20.4138) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.83
Blueberry
#464196
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.33
Twilight
#4E518B
ΔE00 9.27
Ocean Blue
#4F42B5
ΔE00 9.64
Indigo
#4B0082
ΔE00 10.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E367E #667E36
analogous
#36427E #4E367E #72367E
triadic
#4E367E #7E4E36 #367E4E
tetradic
#4E367E #7E3642 #667E36 #367E72
square
#4E367E #7E3642 #667E36 #367E72
split-complementary
#4E367E #7E7236 #427E36
monochromatic
#191128 #332453 #4E367E #6948A9 #896EC1
Accessibility & contrast
On white
9.75
#4E367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4E367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E367E
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E367E | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#434554
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4e367e; /* rgb */ color: rgb(78, 54, 126); /* oklch */ color: oklch(39.8% 0.117 296.0);
Tailwind
colors: {
custom: {
50: '#836ea4',
500: '#4e367e',
950: '#000000',
},
}SCSS
$custom: #4e367e; $custom-light: #836ea4; $custom-dark: #000000;
JSON
{
"hex": "#4e367e",
"rgb": {
"r": 78,
"g": 54,
"b": 126
},
"hsl": {
"h": 260,
"s": 40,
"l": 35.294
},
"oklch": {
"l": 0.39799,
"c": 0.11738,
"h": 296
},
"luminance": 0.05764
}Semantic roles & 50–950 ramp
primary
#4E367E
secondary
#93A967
accent
#D058A8
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B070F
muted
#7C7A7F