#4E0296#4E0296
#4E0296 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.5% C 0.197 H 296.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4E0296 |
|---|---|
| RGB | rgb(78, 2, 150) |
| HSL | hsl(271, 97%, 30%) |
| HSV | hsv(271, 99%, 59%) |
| CMYK | cmyk(48%, 98.7%, 0%, 41.2%) |
| CIE-LAB | lab(23.22, 56.00, -61.26) |
| CIE-LCH | lch(23.22, 83.00, 312.43°) |
| OKLab | oklab(36.48% 0.0885 -0.1757) |
| OKLCH | oklch(36.48% 0.197 296.7) |
| XYZ | xyz(8.6671, 3.8649, 29.1376) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.06
Indigo (survey)
#380282
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 5.29
Ultramarine
#2000B1
ΔE00 5.98
Royal Purple (survey)
#4B006E
ΔE00 6.47
Royal Blue (survey)
#0504AA
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E0296 #4A9602
analogous
#040296 #4E0296 #960294
triadic
#4E0296 #964E02 #02964E
tetradic
#4E0296 #960402 #4A9602 #029496
square
#4E0296 #960402 #4A9602 #029496
split-complementary
#4E0296 #949602 #029604
monochromatic
#10001E #2F015A #4E0296 #6D03D2 #8C17FC
Accessibility & contrast
On white
11.84
#4E0296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#4E0296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E0296
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E0296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E0296 | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#393856
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4e0296; /* rgb */ color: rgb(78, 2, 150); /* oklch */ color: oklch(36.5% 0.197 296.7);
Tailwind
colors: {
custom: {
50: '#8957b6',
500: '#4e0296',
950: '#000000',
},
}SCSS
$custom: #4e0296; $custom-light: #8957b6; $custom-dark: #000000;
JSON
{
"hex": "#4e0296",
"rgb": {
"r": 78,
"g": 2,
"b": 150
},
"hsl": {
"h": 270.811,
"s": 97.368,
"l": 29.804
},
"oklch": {
"l": 0.36482,
"c": 0.19674,
"h": 296.7
},
"luminance": 0.03865
}Semantic roles & 50–950 ramp
primary
#4E0296
secondary
#78CD27
accent
#FF2991
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0411
muted
#7D7980