#4C1C76#4C1C76
#4C1C76 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.145 H 304.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1C76 |
|---|---|
| RGB | rgb(76, 28, 118) |
| HSL | hsl(272, 62%, 29%) |
| HSV | hsv(272, 76%, 46%) |
| CMYK | cmyk(35.6%, 76.3%, 0%, 53.7%) |
| CIE-LAB | lab(22.57, 39.95, -42.23) |
| CIE-LCH | lch(22.57, 58.14, 313.41°) |
| OKLab | oklab(35.03% 0.0812 -0.1202) |
| OKLCH | oklch(35.03% 0.145 304) |
| XYZ | xyz(6.6650, 3.6750, 17.4943) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.96
Indigo
#4B0082
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 5.96
Rebeccapurple
#663399
ΔE00 7.97
Midnight Blue
#191970
ΔE00 8.46
Plum Purple
#4E0550
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1C76 #46761C
analogous
#1F1C76 #4C1C76 #761C73
triadic
#4C1C76 #764C1C #1C764C
tetradic
#4C1C76 #761F1C #46761C #1C7376
square
#4C1C76 #761F1C #46761C #1C7376
split-complementary
#4C1C76 #73761C #1C761F
monochromatic
#100619 #2C1045 #4C1C76 #6C28A7 #8B3CD1
Accessibility & contrast
On white
12.10
#4C1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#4C1C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1C76
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1C76 | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003674
Tritanopia (blue-blind)
#443247
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4c1c76; /* rgb */ color: rgb(76, 28, 118); /* oklch */ color: oklch(35.0% 0.145 304.0);
Tailwind
colors: {
custom: {
50: '#825d9e',
500: '#4c1c76',
950: '#000000',
},
}SCSS
$custom: #4c1c76; $custom-light: #825d9e; $custom-dark: #000000;
JSON
{
"hex": "#4c1c76",
"rgb": {
"r": 76,
"g": 28,
"b": 118
},
"hsl": {
"h": 272,
"s": 61.644,
"l": 28.627
},
"oklch": {
"l": 0.35035,
"c": 0.14509,
"h": 304
},
"luminance": 0.03675
}Semantic roles & 50–950 ramp
primary
#4C1C76
secondary
#73AA44
accent
#E5438F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E