#4E1779#4E1779
#4E1779 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.154 H 304.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1779 |
|---|---|
| RGB | rgb(78, 23, 121) |
| HSL | hsl(274, 68%, 28%) |
| HSV | hsv(274, 81%, 47%) |
| CMYK | cmyk(35.5%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(22.35, 43.27, -44.49) |
| CIE-LCH | lch(22.35, 62.07, 314.20°) |
| OKLab | oklab(35.02% 0.0883 -0.1268) |
| OKLCH | oklch(35.02% 0.155 304.9) |
| XYZ | xyz(6.8987, 3.6130, 18.4194) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.28
Royal Purple (survey)
#4B006E
ΔE00 3.31
Indigo (survey)
#380282
ΔE00 5.34
Rebeccapurple
#663399
ΔE00 8.05
Plum Purple
#4E0550
ΔE00 8.74
Midnight Blue
#191970
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1779 #427917
analogous
#1D1779 #4E1779 #791773
triadic
#4E1779 #794E17 #17794E
tetradic
#4E1779 #791D17 #427917 #177379
square
#4E1779 #791D17 #427917 #177379
split-complementary
#4E1779 #737917 #17791D
monochromatic
#11051A #2D0D46 #4E1779 #6F21AC #8F32D8
Accessibility & contrast
On white
12.19
#4E1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#4E1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1779
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1779 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#463148
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #4e1779; /* rgb */ color: rgb(78, 23, 121); /* oklch */ color: oklch(35.0% 0.154 304.9);
Tailwind
colors: {
custom: {
50: '#845ba0',
500: '#4e1779',
950: '#000000',
},
}SCSS
$custom: #4e1779; $custom-light: #845ba0; $custom-dark: #000000;
JSON
{
"hex": "#4e1779",
"rgb": {
"r": 78,
"g": 23,
"b": 121
},
"hsl": {
"h": 273.673,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.35023,
"c": 0.1545,
"h": 304.9
},
"luminance": 0.03613
}Semantic roles & 50–950 ramp
primary
#4E1779
secondary
#6FAE3E
accent
#EB3D89
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0B040F
muted
#7C797F