#4E2AE2#4E2AE2
#4E2AE2 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.252 H 279.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2AE2 |
|---|---|
| RGB | rgb(78, 42, 226) |
| HSL | hsl(252, 76%, 53%) |
| HSV | hsv(252, 81%, 89%) |
| CMYK | cmyk(65.5%, 81.4%, 0%, 11.4%) |
| CIE-LAB | lab(35.53, 63.39, -85.96) |
| CIE-LCH | lch(35.53, 106.80, 306.40°) |
| OKLab | oklab(47.29% 0.0423 -0.2482) |
| OKLCH | oklch(47.29% 0.252 279.7) |
| XYZ | xyz(17.6929, 8.7652, 72.6962) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 3.03
Purple Blue
#5D21D0
ΔE00 3.11
Blue Purple
#5A06EF
ΔE00 3.19
Blue Violet
#5D06E9
ΔE00 3.28
Purply Blue
#661AEE
ΔE00 3.31
Light Royal Blue
#3A2EFE
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2AE2 #BEE22A
analogous
#2A62E2 #4E2AE2 #AA2AE2
triadic
#4E2AE2 #E24E2A #2AE24E
tetradic
#4E2AE2 #E22A62 #BEE22A #2AE2AA
square
#4E2AE2 #E22A62 #BEE22A #2AE2AA
split-complementary
#4E2AE2 #E2AA2A #62E22A
monochromatic
#271180 #3819B6 #4E2AE2 #7B60E9 #A896F1
Accessibility & contrast
On white
7.63
#4E2AE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#4E2AE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2AE2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2AE2 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#004CDF
Tritanopia (blue-blind)
#006488
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4e2ae2; /* rgb */ color: rgb(78, 42, 226); /* oklch */ color: oklch(47.3% 0.252 279.7);
Tailwind
colors: {
custom: {
50: '#936bed',
500: '#4e2ae2',
950: '#000000',
},
}SCSS
$custom: #4e2ae2; $custom-light: #936bed; $custom-dark: #000000;
JSON
{
"hex": "#4e2ae2",
"rgb": {
"r": 78,
"g": 42,
"b": 226
},
"hsl": {
"h": 251.739,
"s": 76.033,
"l": 52.549
},
"oklch": {
"l": 0.47291,
"c": 0.25176,
"h": 279.7
},
"luminance": 0.08767
}Semantic roles & 50–950 ramp
primary
#4E2AE2
secondary
#CCDC8C
accent
#F335CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85