#4E2AC9#4E2AC9
#4E2AC9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.224 H 282.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2AC9 |
|---|---|
| RGB | rgb(78, 42, 201) |
| HSL | hsl(254, 65%, 48%) |
| HSV | hsv(254, 79%, 79%) |
| CMYK | cmyk(61.2%, 79.1%, 0%, 21.2%) |
| CIE-LAB | lab(32.90, 56.44, -75.86) |
| CIE-LCH | lch(32.90, 94.55, 306.65°) |
| OKLab | oklab(44.7% 0.05 -0.2188) |
| OKLCH | oklch(44.7% 0.224 282.9) |
| XYZ | xyz(14.5092, 7.4917, 55.9285) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.35
Blurple
#5539CC
ΔE00 3.26
Violet Blue
#510AC9
ΔE00 3.71
Blue With A Hint Of Purple
#533CC6
ΔE00 3.78
Blue Violet
#5D06E9
ΔE00 4.69
Blue Purple
#5A06EF
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2AC9 #A5C92A
analogous
#2A55C9 #4E2AC9 #9E2AC9
triadic
#4E2AC9 #C94E2A #2AC94E
tetradic
#4E2AC9 #C92A55 #A5C92A #2AC99E
square
#4E2AC9 #C92A55 #A5C92A #2AC99E
split-complementary
#4E2AC9 #C99E2A #55C92A
monochromatic
#271564 #3A1F96 #4E2AC9 #7355DB #9D87E6
Accessibility & contrast
On white
8.40
#4E2AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#4E2AC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2AC9
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2AC9 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #4e2ac9; /* rgb */ color: rgb(78, 42, 201); /* oklch */ color: oklch(44.7% 0.224 282.9);
Tailwind
colors: {
custom: {
50: '#8f69db',
500: '#4e2ac9',
950: '#000000',
},
}SCSS
$custom: #4e2ac9; $custom-light: #8f69db; $custom-dark: #000000;
JSON
{
"hex": "#4e2ac9",
"rgb": {
"r": 78,
"g": 42,
"b": 201
},
"hsl": {
"h": 253.585,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.447,
"c": 0.22441,
"h": 282.9
},
"luminance": 0.07493
}Semantic roles & 50–950 ramp
primary
#4E2AC9
secondary
#BDD07F
accent
#E83FC2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83