#4E2AC3#4E2AC3
#4E2AC3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.218 H 283.7°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2AC3 |
|---|---|
| RGB | rgb(78, 42, 195) |
| HSL | hsl(254, 65%, 46%) |
| HSV | hsv(254, 78%, 76%) |
| CMYK | cmyk(60%, 78.5%, 0%, 23.5%) |
| CIE-LAB | lab(32.29, 54.75, -73.35) |
| CIE-LCH | lch(32.29, 91.54, 306.74°) |
| OKLab | oklab(44.1% 0.0517 -0.2115) |
| OKLCH | oklch(44.1% 0.218 283.7) |
| XYZ | xyz(13.8171, 7.2148, 52.2837) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.73
Blurple
#5539CC
ΔE00 3.60
Violet Blue
#510AC9
ΔE00 3.64
Blue With A Hint Of Purple
#533CC6
ΔE00 3.95
Indigo Blue
#3A18B1
ΔE00 4.87
Blue Violet
#5D06E9
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2AC3 #9FC32A
analogous
#2A52C3 #4E2AC3 #9B2AC3
triadic
#4E2AC3 #C34E2A #2AC34E
tetradic
#4E2AC3 #C32A52 #9FC32A #2AC39B
square
#4E2AC3 #C32A52 #9FC32A #2AC39B
split-complementary
#4E2AC3 #C39B2A #52C32A
monochromatic
#26145E #3A1F91 #4E2AC3 #7151D9 #9A83E4
Accessibility & contrast
On white
8.60
#4E2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4E2AC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2AC3
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2AC3 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4e2ac3; /* rgb */ color: rgb(78, 42, 195); /* oklch */ color: oklch(44.1% 0.218 283.7);
Tailwind
colors: {
custom: {
50: '#8e69d6',
500: '#4e2ac3',
950: '#000000',
},
}SCSS
$custom: #4e2ac3; $custom-light: #8e69d6; $custom-dark: #000000;
JSON
{
"hex": "#4e2ac3",
"rgb": {
"r": 78,
"g": 42,
"b": 195
},
"hsl": {
"h": 254.118,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.44095,
"c": 0.21771,
"h": 283.7
},
"luminance": 0.07216
}Semantic roles & 50–950 ramp
primary
#4E2AC3
secondary
#BACD7B
accent
#E840C0
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83