#4C2AC3#4C2AC3
#4C2AC3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.218 H 282.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #4C2AC3 |
|---|---|
| RGB | rgb(76, 42, 195) |
| HSL | hsl(253, 65%, 46%) |
| HSV | hsv(253, 78%, 76%) |
| CMYK | cmyk(61%, 78.5%, 0%, 23.5%) |
| CIE-LAB | lab(32.10, 54.53, -73.67) |
| CIE-LCH | lch(32.10, 91.65, 306.51°) |
| OKLab | oklab(43.92% 0.0488 -0.2124) |
| OKLCH | oklch(43.92% 0.218 282.9) |
| XYZ | xyz(13.6557, 7.1316, 52.2761) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.92
Violet Blue
#510AC9
ΔE00 3.67
Blurple
#5539CC
ΔE00 3.68
Blue With A Hint Of Purple
#533CC6
ΔE00 4.00
Indigo Blue
#3A18B1
ΔE00 4.74
Blue Violet
#5D06E9
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C2AC3 #A1C32A
analogous
#2A55C3 #4C2AC3 #992AC3
triadic
#4C2AC3 #C34C2A #2AC34C
tetradic
#4C2AC3 #C32A55 #A1C32A #2AC399
square
#4C2AC3 #C32A55 #A1C32A #2AC399
split-complementary
#4C2AC3 #C3992A #55C32A
monochromatic
#25145E #381F91 #4C2AC3 #6F51D9 #9983E4
Accessibility & contrast
On white
8.65
#4C2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#4C2AC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C2AC3
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C2AC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C2AC3 | 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)
#0050C7
Deuteranopia (green-blind)
#0046C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #4c2ac3; /* rgb */ color: rgb(76, 42, 195); /* oklch */ color: oklch(43.9% 0.218 282.9);
Tailwind
colors: {
custom: {
50: '#8d69d6',
500: '#4c2ac3',
950: '#000000',
},
}SCSS
$custom: #4c2ac3; $custom-light: #8d69d6; $custom-dark: #000000;
JSON
{
"hex": "#4c2ac3",
"rgb": {
"r": 76,
"g": 42,
"b": 195
},
"hsl": {
"h": 253.333,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.4392,
"c": 0.21797,
"h": 282.9
},
"luminance": 0.07133
}Semantic roles & 50–950 ramp
primary
#4C2AC3
secondary
#BBCD7B
accent
#E840C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83