#4C2DC0#4C2DC0
#4C2DC0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.212 H 283.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2DC0 |
|---|---|
| RGB | rgb(76, 45, 192) |
| HSL | hsl(253, 62%, 46%) |
| HSV | hsv(253, 77%, 75%) |
| CMYK | cmyk(60.4%, 76.6%, 0%, 24.7%) |
| CIE-LAB | lab(32.30, 52.24, -71.59) |
| CIE-LCH | lch(32.30, 88.62, 306.12°) |
| OKLab | oklab(43.97% 0.0478 -0.2064) |
| OKLCH | oklch(43.97% 0.212 283) |
| XYZ | xyz(13.4304, 7.2181, 50.5445) |
| Luminance | 0.0722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.35
Blurple
#5539CC
ΔE00 3.42
Blue With A Hint Of Purple
#533CC6
ΔE00 3.59
Violet Blue
#510AC9
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2DC0 #A1C02D
analogous
#2D58C0 #4C2DC0 #962DC0
triadic
#4C2DC0 #C04C2D #2DC04C
tetradic
#4C2DC0 #C02D58 #A1C02D #2DC096
square
#4C2DC0 #C02D58 #A1C02D #2DC096
split-complementary
#4C2DC0 #C0962D #58C02D
monochromatic
#25165D #38218E #4C2DC0 #6F53D7 #9985E2
Accessibility & contrast
On white
8.59
#4C2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#4C2DC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2DC0
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2DC0 | 1.00 | 8.59 | 2.44 | 8.59 |
| #FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4c2dc0; /* rgb */ color: rgb(76, 45, 192); /* oklch */ color: oklch(44.0% 0.212 283.0);
Tailwind
colors: {
custom: {
50: '#8c6ad4',
500: '#4c2dc0',
950: '#000000',
},
}SCSS
$custom: #4c2dc0; $custom-light: #8c6ad4; $custom-dark: #000000;
JSON
{
"hex": "#4c2dc0",
"rgb": {
"r": 76,
"g": 45,
"b": 192
},
"hsl": {
"h": 252.653,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.43965,
"c": 0.21185,
"h": 283
},
"luminance": 0.07219
}Semantic roles & 50–950 ramp
primary
#4C2DC0
secondary
#BBCC7D
accent
#E543C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83