#4E1890#4E1890
#4E1890 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.178 H 296.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1890 |
|---|---|
| RGB | rgb(78, 24, 144) |
| HSL | hsl(267, 71%, 33%) |
| HSV | hsv(267, 83%, 56%) |
| CMYK | cmyk(45.8%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(24.60, 48.62, -55.28) |
| CIE-LCH | lch(24.60, 73.62, 311.33°) |
| OKLab | oklab(37.24% 0.0803 -0.1584) |
| OKLCH | oklch(37.24% 0.178 296.9) |
| XYZ | xyz(8.5012, 4.2864, 26.7596) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.51
Indigo (survey)
#380282
ΔE00 4.76
Indigo Blue
#3A18B1
ΔE00 5.58
Royal Purple (survey)
#4B006E
ΔE00 6.31
Rebeccapurple
#663399
ΔE00 6.83
Ultramarine
#2000B1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1890 #5A9018
analogous
#181E90 #4E1890 #8A1890
triadic
#4E1890 #904E18 #18904E
tetradic
#4E1890 #90181E #5A9018 #18908A
square
#4E1890 #90181E #5A9018 #18908A
split-complementary
#4E1890 #908A18 #1E9018
monochromatic
#150727 #320F5C #4E1890 #6A21C4 #8943E0
Accessibility & contrast
On white
11.31
#4E1890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#4E1890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1890
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1890 | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#3C3B55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4e1890; /* rgb */ color: rgb(78, 24, 144); /* oklch */ color: oklch(37.2% 0.178 296.9);
Tailwind
colors: {
custom: {
50: '#875db2',
500: '#4e1890',
950: '#000000',
},
}SCSS
$custom: #4e1890; $custom-light: #875db2; $custom-dark: #000000;
JSON
{
"hex": "#4e1890",
"rgb": {
"r": 78,
"g": 24,
"b": 144
},
"hsl": {
"h": 267,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.37236,
"c": 0.17763,
"h": 296.9
},
"luminance": 0.04287
}Semantic roles & 50–950 ramp
primary
#4E1890
secondary
#88C043
accent
#EE3A9D
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980