#4A2DC0#4A2DC0
#4A2DC0 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.212 H 282.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2DC0 |
|---|---|
| RGB | rgb(74, 45, 192) |
| HSL | hsl(252, 62%, 46%) |
| HSV | hsv(252, 77%, 75%) |
| CMYK | cmyk(61.5%, 76.6%, 0%, 24.7%) |
| CIE-LAB | lab(32.12, 52.01, -71.89) |
| CIE-LCH | lch(32.12, 88.73, 305.88°) |
| OKLab | oklab(43.8% 0.0449 -0.2073) |
| OKLCH | oklch(43.8% 0.212 282.2) |
| XYZ | xyz(13.2739, 7.1374, 50.5371) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 3.52
Purple Blue
#5D21D0
ΔE00 3.53
Blue With A Hint Of Purple
#533CC6
ΔE00 3.67
Violet Blue
#510AC9
ΔE00 4.30
Indigo Blue
#3A18B1
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2DC0 #A3C02D
analogous
#2D5AC0 #4A2DC0 #942DC0
triadic
#4A2DC0 #C04A2D #2DC04A
tetradic
#4A2DC0 #C02D5A #A3C02D #2DC094
square
#4A2DC0 #C02D5A #A3C02D #2DC094
split-complementary
#4A2DC0 #C0942D #5AC02D
monochromatic
#24165D #37218E #4A2DC0 #6D53D7 #9785E2
Accessibility & contrast
On white
8.65
#4A2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#4A2DC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2DC0
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2DC0 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0046BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4a2dc0; /* rgb */ color: rgb(74, 45, 192); /* oklch */ color: oklch(43.8% 0.212 282.2);
Tailwind
colors: {
custom: {
50: '#8b6ad4',
500: '#4a2dc0',
950: '#000000',
},
}SCSS
$custom: #4a2dc0; $custom-light: #8b6ad4; $custom-dark: #000000;
JSON
{
"hex": "#4a2dc0",
"rgb": {
"r": 74,
"g": 45,
"b": 192
},
"hsl": {
"h": 251.837,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.43795,
"c": 0.21214,
"h": 282.2
},
"luminance": 0.07138
}Semantic roles & 50–950 ramp
primary
#4A2DC0
secondary
#BCCC7D
accent
#E543C5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83