#4E2296#4E2296
#4E2296 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.175 H 293.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2296 |
|---|---|
| RGB | rgb(78, 34, 150) |
| HSL | hsl(263, 63%, 36%) |
| HSV | hsv(263, 77%, 59%) |
| CMYK | cmyk(48%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(26.64, 45.94, -55.64) |
| CIE-LCH | lch(26.64, 72.16, 309.54°) |
| OKLab | oklab(38.83% 0.0706 -0.1596) |
| OKLCH | oklch(38.83% 0.175 293.9) |
| XYZ | xyz(9.2174, 4.9655, 29.3210) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.96
Indigo
#4B0082
ΔE00 5.46
Rebeccapurple
#663399
ΔE00 5.67
Indigo (survey)
#380282
ΔE00 6.28
Violet Blue
#510AC9
ΔE00 7.00
Ultramarine
#2000B1
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2296 #6A9622
analogous
#223096 #4E2296 #882296
triadic
#4E2296 #964E22 #22964E
tetradic
#4E2296 #962230 #6A9622 #229688
square
#4E2296 #962230 #6A9622 #229688
split-complementary
#4E2296 #968822 #309622
monochromatic
#1A0B32 #341764 #4E2296 #682DC8 #8A59D9
Accessibility & contrast
On white
10.54
#4E2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4E2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2296
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2296 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#38425B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4e2296; /* rgb */ color: rgb(78, 34, 150); /* oklch */ color: oklch(38.8% 0.175 293.9);
Tailwind
colors: {
custom: {
50: '#8762b6',
500: '#4e2296',
950: '#000000',
},
}SCSS
$custom: #4e2296; $custom-light: #8762b6; $custom-dark: #000000;
JSON
{
"hex": "#4e2296",
"rgb": {
"r": 78,
"g": 34,
"b": 150
},
"hsl": {
"h": 262.759,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.38829,
"c": 0.17451,
"h": 293.9
},
"luminance": 0.04966
}Semantic roles & 50–950 ramp
primary
#4E2296
secondary
#96BE56
accent
#E642A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80