#4E2AC7#4E2AC7
#4E2AC7 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.222 H 283.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2AC7 |
|---|---|
| RGB | rgb(78, 42, 199) |
| HSL | hsl(254, 65%, 47%) |
| HSV | hsv(254, 79%, 78%) |
| CMYK | cmyk(60.8%, 78.9%, 0%, 22%) |
| CIE-LAB | lab(32.70, 55.88, -75.03) |
| CIE-LCH | lch(32.70, 93.55, 306.68°) |
| OKLab | oklab(44.5% 0.0506 -0.2163) |
| OKLCH | oklch(44.5% 0.222 283.2) |
| XYZ | xyz(14.2755, 7.3982, 54.6975) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.46
Blurple
#5539CC
ΔE00 3.36
Violet Blue
#510AC9
ΔE00 3.67
Blue With A Hint Of Purple
#533CC6
ΔE00 3.82
Blue Violet
#5D06E9
ΔE00 4.88
Indigo Blue
#3A18B1
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2AC7 #A3C72A
analogous
#2A55C7 #4E2AC7 #9D2AC7
triadic
#4E2AC7 #C74E2A #2AC74E
tetradic
#4E2AC7 #C72A55 #A3C72A #2AC79D
square
#4E2AC7 #C72A55 #A3C72A #2AC79D
split-complementary
#4E2AC7 #C79D2A #55C72A
monochromatic
#261562 #3A1F94 #4E2AC7 #7253DB #9C86E5
Accessibility & contrast
On white
8.47
#4E2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#4E2AC7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2AC7
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2AC7 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e2ac7; /* rgb */ color: rgb(78, 42, 199); /* oklch */ color: oklch(44.5% 0.222 283.2);
Tailwind
colors: {
custom: {
50: '#8e69d9',
500: '#4e2ac7',
950: '#000000',
},
}SCSS
$custom: #4e2ac7; $custom-light: #8e69d9; $custom-dark: #000000;
JSON
{
"hex": "#4e2ac7",
"rgb": {
"r": 78,
"g": 42,
"b": 199
},
"hsl": {
"h": 253.758,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.44498,
"c": 0.22218,
"h": 283.2
},
"luminance": 0.07399
}Semantic roles & 50–950 ramp
primary
#4E2AC7
secondary
#BCCF7E
accent
#E840C1
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83