#4E1C86#4E1C86
#4E1C86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.163 H 299.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1C86 |
|---|---|
| RGB | rgb(78, 28, 134) |
| HSL | hsl(268, 65%, 32%) |
| HSV | hsv(268, 79%, 53%) |
| CMYK | cmyk(41.8%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(24.23, 44.42, -49.65) |
| CIE-LCH | lch(24.23, 66.62, 311.82°) |
| OKLab | oklab(36.7% 0.0803 -0.1419) |
| OKLCH | oklch(36.7% 0.163 299.5) |
| XYZ | xyz(7.8591, 4.1713, 22.9407) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.50
Indigo (survey)
#380282
ΔE00 5.07
Royal Purple (survey)
#4B006E
ΔE00 5.35
Rebeccapurple
#663399
ΔE00 6.65
Indigo Blue
#3A18B1
ΔE00 7.15
Royal
#0C1793
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1C86 #54861C
analogous
#1C1F86 #4E1C86 #831C86
triadic
#4E1C86 #864E1C #1C864E
tetradic
#4E1C86 #861C1F #54861C #1C8683
square
#4E1C86 #861C1F #54861C #1C8683
split-complementary
#4E1C86 #86831C #1F861C
monochromatic
#130721 #311153 #4E1C86 #6B27B9 #8A44D8
Accessibility & contrast
On white
11.45
#4E1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#4E1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1C86
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1C86 | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#413850
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4e1c86; /* rgb */ color: rgb(78, 28, 134); /* oklch */ color: oklch(36.7% 0.163 299.5);
Tailwind
colors: {
custom: {
50: '#855eaa',
500: '#4e1c86',
950: '#000000',
},
}SCSS
$custom: #4e1c86; $custom-light: #855eaa; $custom-dark: #000000;
JSON
{
"hex": "#4e1c86",
"rgb": {
"r": 78,
"g": 28,
"b": 134
},
"hsl": {
"h": 268.302,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.36696,
"c": 0.16308,
"h": 299.5
},
"luminance": 0.04171
}Semantic roles & 50–950 ramp
primary
#4E1C86
secondary
#82B945
accent
#E83F99
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F