#4E2CCA#4E2CCA
#4E2CCA is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.224 H 282.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2CCA |
|---|---|
| RGB | rgb(78, 44, 202) |
| HSL | hsl(253, 64%, 48%) |
| HSV | hsv(253, 78%, 79%) |
| CMYK | cmyk(61.4%, 78.2%, 0%, 20.8%) |
| CIE-LAB | lab(33.32, 55.82, -75.76) |
| CIE-LCH | lch(33.32, 94.10, 306.38°) |
| OKLab | oklab(45.02% 0.0485 -0.2185) |
| OKLCH | oklch(45.02% 0.224 282.5) |
| XYZ | xyz(14.6999, 7.6843, 56.5743) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.49
Blurple
#5539CC
ΔE00 2.87
Blue With A Hint Of Purple
#533CC6
ΔE00 3.41
Violet Blue
#510AC9
ΔE00 4.10
Blue Violet
#5D06E9
ΔE00 4.77
Purpley Blue
#5F34E7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2CCA #A8CA2C
analogous
#2C59CA #4E2CCA #9D2CCA
triadic
#4E2CCA #CA4E2C #2CCA4E
tetradic
#4E2CCA #CA2C59 #A8CA2C #2CCA9D
square
#4E2CCA #CA2C59 #A8CA2C #2CCA9D
split-complementary
#4E2CCA #CA9D2C #59CA2C
monochromatic
#271665 #3B2198 #4E2CCA #7558DB #9E8BE6
Accessibility & contrast
On white
8.28
#4E2CCA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#4E2CCA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2CCA
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2CCA | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #4e2cca; /* rgb */ color: rgb(78, 44, 202); /* oklch */ color: oklch(45.0% 0.224 282.5);
Tailwind
colors: {
custom: {
50: '#8f6adb',
500: '#4e2cca',
950: '#000000',
},
}SCSS
$custom: #4e2cca; $custom-light: #8f6adb; $custom-dark: #000000;
JSON
{
"hex": "#4e2cca",
"rgb": {
"r": 78,
"g": 44,
"b": 202
},
"hsl": {
"h": 252.911,
"s": 64.228,
"l": 48.235
},
"oklch": {
"l": 0.4502,
"c": 0.22382,
"h": 282.5
},
"luminance": 0.07685
}Semantic roles & 50–950 ramp
primary
#4E2CCA
secondary
#BFD082
accent
#E741C3
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83