#4E1D7F#4E1D7F
#4E1D7F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.154 H 301.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1D7F |
|---|---|
| RGB | rgb(78, 29, 127) |
| HSL | hsl(270, 63%, 31%) |
| HSV | hsv(270, 77%, 50%) |
| CMYK | cmyk(38.6%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.77, 42.17, -45.98) |
| CIE-LCH | lch(23.77, 62.40, 312.52°) |
| OKLab | oklab(36.18% 0.0812 -0.1312) |
| OKLCH | oklch(36.18% 0.154 301.8) |
| XYZ | xyz(7.4111, 4.0307, 20.4621) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.80
Royal Purple (survey)
#4B006E
ΔE00 4.72
Indigo (survey)
#380282
ΔE00 5.52
Rebeccapurple
#663399
ΔE00 6.94
Indigo Blue
#3A18B1
ΔE00 8.36
Midnight Blue
#191970
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1D7F #4E7F1D
analogous
#1D1D7F #4E1D7F #7F1D7F
triadic
#4E1D7F #7F4E1D #1D7F4E
tetradic
#4E1D7F #7F1D1D #4E7F1D #1D7F7F
square
#4E1D7F #7F1D1D #4E7F1D #1D7F7F
split-complementary
#4E1D7F #7F7F1D #1D7F1D
monochromatic
#11061B #2F124D #4E1D7F #6D28B1 #8B42D4
Accessibility & contrast
On white
11.63
#4E1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#4E1D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1D7F
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1D7F | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#43364D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4e1d7f; /* rgb */ color: rgb(78, 29, 127); /* oklch */ color: oklch(36.2% 0.154 301.8);
Tailwind
colors: {
custom: {
50: '#855ea5',
500: '#4e1d7f',
950: '#000000',
},
}SCSS
$custom: #4e1d7f; $custom-light: #855ea5; $custom-dark: #000000;
JSON
{
"hex": "#4e1d7f",
"rgb": {
"r": 78,
"g": 29,
"b": 127
},
"hsl": {
"h": 270,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.36184,
"c": 0.15429,
"h": 301.8
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#4E1D7F
secondary
#7CB245
accent
#E64294
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F