#4A2EC0#4A2EC0
#4A2EC0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.211 H 282.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2EC0 |
|---|---|
| RGB | rgb(74, 46, 192) |
| HSL | hsl(252, 61%, 47%) |
| HSV | hsv(252, 76%, 75%) |
| CMYK | cmyk(61.5%, 76%, 0%, 24.7%) |
| CIE-LAB | lab(32.29, 51.51, -71.60) |
| CIE-LCH | lch(32.29, 88.21, 305.73°) |
| OKLab | oklab(43.92% 0.0443 -0.2065) |
| OKLCH | oklch(43.92% 0.211 282.1) |
| XYZ | xyz(13.3125, 7.2147, 50.5500) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 3.37
Blue With A Hint Of Purple
#533CC6
ΔE00 3.49
Purple Blue
#5D21D0
ΔE00 3.62
Violet Blue
#510AC9
ΔE00 4.49
Indigo Blue
#3A18B1
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2EC0 #A4C02E
analogous
#2E5BC0 #4A2EC0 #932EC0
triadic
#4A2EC0 #C04A2E #2EC04A
tetradic
#4A2EC0 #C02E5B #A4C02E #2EC093
square
#4A2EC0 #C02E5B #A4C02E #2EC093
split-complementary
#4A2EC0 #C0932E #5BC02E
monochromatic
#24165D #37228F #4A2EC0 #6E55D6 #9886E2
Accessibility & contrast
On white
8.60
#4A2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4A2EC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2EC0
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2EC0 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4a2ec0; /* rgb */ color: rgb(74, 46, 192); /* oklch */ color: oklch(43.9% 0.211 282.1);
Tailwind
colors: {
custom: {
50: '#8b6bd4',
500: '#4a2ec0',
950: '#000000',
},
}SCSS
$custom: #4a2ec0; $custom-light: #8b6bd4; $custom-dark: #000000;
JSON
{
"hex": "#4a2ec0",
"rgb": {
"r": 74,
"g": 46,
"b": 192
},
"hsl": {
"h": 251.507,
"s": 61.345,
"l": 46.667
},
"oklch": {
"l": 0.43916,
"c": 0.21121,
"h": 282.1
},
"luminance": 0.07216
}Semantic roles & 50–950 ramp
primary
#4A2EC0
secondary
#BDCC7E
accent
#E443C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83