#4C1D7C#4C1D7C
#4C1D7C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.151 H 301.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1D7C |
|---|---|
| RGB | rgb(76, 29, 124) |
| HSL | hsl(270, 62%, 30%) |
| HSV | hsv(270, 77%, 49%) |
| CMYK | cmyk(38.7%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(23.24, 41.02, -44.97) |
| CIE-LCH | lch(23.24, 60.87, 312.37°) |
| OKLab | oklab(35.67% 0.0789 -0.1283) |
| OKLCH | oklch(35.67% 0.151 301.6) |
| XYZ | xyz(7.0571, 3.8704, 19.4401) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.92
Royal Purple (survey)
#4B006E
ΔE00 4.52
Indigo (survey)
#380282
ΔE00 5.48
Rebeccapurple
#663399
ΔE00 7.35
Midnight Blue
#191970
ΔE00 8.21
Indigo Blue
#3A18B1
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1D7C #4D7C1D
analogous
#1D1D7C #4C1D7C #7C1D7C
triadic
#4C1D7C #7C4C1D #1D7C4C
tetradic
#4C1D7C #7C1D1D #4D7C1D #1D7C7C
square
#4C1D7C #7C1D1D #4D7C1D #1D7C7C
split-complementary
#4C1D7C #7C7C1D #1D7C1D
monochromatic
#0F0619 #2E114A #4C1D7C #6A29AE #8941D3
Accessibility & contrast
On white
11.84
#4C1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#4C1D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1D7C
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1D7C | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#42354B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4c1d7c; /* rgb */ color: rgb(76, 29, 124); /* oklch */ color: oklch(35.7% 0.151 301.6);
Tailwind
colors: {
custom: {
50: '#835ea3',
500: '#4c1d7c',
950: '#000000',
},
}SCSS
$custom: #4c1d7c; $custom-light: #835ea3; $custom-dark: #000000;
JSON
{
"hex": "#4c1d7c",
"rgb": {
"r": 76,
"g": 29,
"b": 124
},
"hsl": {
"h": 269.684,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.35668,
"c": 0.15058,
"h": 301.6
},
"luminance": 0.0387
}Semantic roles & 50–950 ramp
primary
#4C1D7C
secondary
#7BB045
accent
#E54395
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F