#4E2AE3#4E2AE3
#4E2AE3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.4% C 0.253 H 279.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2AE3 |
|---|---|
| RGB | rgb(78, 42, 227) |
| HSL | hsl(252, 77%, 53%) |
| HSV | hsv(252, 81%, 89%) |
| CMYK | cmyk(65.6%, 81.5%, 0%, 11%) |
| CIE-LAB | lab(35.64, 63.66, -86.35) |
| CIE-LCH | lch(35.64, 107.28, 306.40°) |
| OKLab | oklab(47.4% 0.042 -0.2493) |
| OKLCH | oklch(47.4% 0.253 279.6) |
| XYZ | xyz(17.8306, 8.8202, 73.4210) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.96
Blue Purple
#5A06EF
ΔE00 3.16
Purple Blue
#5D21D0
ΔE00 3.20
Purply Blue
#661AEE
ΔE00 3.25
Blue Violet
#5D06E9
ΔE00 3.28
Light Royal Blue
#3A2EFE
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2AE3 #BFE32A
analogous
#2A62E3 #4E2AE3 #AB2AE3
triadic
#4E2AE3 #E34E2A #2AE34E
tetradic
#4E2AE3 #E32A62 #BFE32A #2AE3AB
square
#4E2AE3 #E32A62 #BFE32A #2AE3AB
split-complementary
#4E2AE3 #E3AB2A #62E32A
monochromatic
#271182 #3718B8 #4E2AE3 #7B60EA #A896F1
Accessibility & contrast
On white
7.60
#4E2AE3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#4E2AE3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2AE3
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2AE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2AE3 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#004DE0
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4e2ae3; /* rgb */ color: rgb(78, 42, 227); /* oklch */ color: oklch(47.4% 0.253 279.6);
Tailwind
colors: {
custom: {
50: '#936bed',
500: '#4e2ae3',
950: '#000000',
},
}SCSS
$custom: #4e2ae3; $custom-light: #936bed; $custom-dark: #000000;
JSON
{
"hex": "#4e2ae3",
"rgb": {
"r": 78,
"g": 42,
"b": 227
},
"hsl": {
"h": 251.676,
"s": 76.763,
"l": 52.745
},
"oklch": {
"l": 0.47396,
"c": 0.25283,
"h": 279.6
},
"luminance": 0.08822
}Semantic roles & 50–950 ramp
primary
#4E2AE3
secondary
#CDDC8C
accent
#F334CE
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85