#4E1699#4E1699
#4E1699 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.189 H 294.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1699 |
|---|---|
| RGB | rgb(78, 22, 153) |
| HSL | hsl(266, 75%, 34%) |
| HSV | hsv(266, 86%, 60%) |
| CMYK | cmyk(49%, 85.6%, 0%, 40%) |
| CIE-LAB | lab(25.24, 51.63, -59.78) |
| CIE-LCH | lch(25.24, 78.99, 310.81°) |
| OKLab | oklab(37.95% 0.0783 -0.1716) |
| OKLCH | oklch(37.95% 0.189 294.5) |
| XYZ | xyz(9.1770, 4.4931, 30.5146) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.33
Indigo Blue
#3A18B1
ΔE00 4.36
Indigo (survey)
#380282
ΔE00 5.21
Ultramarine
#2000B1
ΔE00 6.11
Violet Blue
#510AC9
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1699 #619916
analogous
#162099 #4E1699 #901699
triadic
#4E1699 #994E16 #16994E
tetradic
#4E1699 #991620 #619916 #169990
square
#4E1699 #991620 #619916 #169990
split-complementary
#4E1699 #999016 #209916
monochromatic
#17072E #330E63 #4E1699 #691ECF #8945E4
Accessibility & contrast
On white
11.06
#4E1699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#4E1699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1699
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1699 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#373E5A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4e1699; /* rgb */ color: rgb(78, 22, 153); /* oklch */ color: oklch(37.9% 0.189 294.5);
Tailwind
colors: {
custom: {
50: '#885db8',
500: '#4e1699',
950: '#000000',
},
}SCSS
$custom: #4e1699; $custom-light: #885db8; $custom-dark: #000000;
JSON
{
"hex": "#4e1699",
"rgb": {
"r": 78,
"g": 22,
"b": 153
},
"hsl": {
"h": 265.649,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.37948,
"c": 0.18861,
"h": 294.5
},
"luminance": 0.04493
}Semantic roles & 50–950 ramp
primary
#4E1699
secondary
#8FC546
accent
#F136A1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981