#4C1C7D#4C1C7D
#4C1C7D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.153 H 301.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1C7D |
|---|---|
| RGB | rgb(76, 28, 125) |
| HSL | hsl(270, 63%, 30%) |
| HSV | hsv(270, 78%, 49%) |
| CMYK | cmyk(39.2%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(23.16, 41.74, -45.73) |
| CIE-LCH | lch(23.16, 61.92, 312.39°) |
| OKLab | oklab(35.64% 0.0796 -0.1305) |
| OKLCH | oklch(35.64% 0.153 301.4) |
| XYZ | xyz(7.0965, 3.8476, 19.7669) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.66
Royal Purple (survey)
#4B006E
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 7.38
Midnight Blue
#191970
ΔE00 8.20
Indigo Blue
#3A18B1
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1C7D #4D7D1C
analogous
#1C1C7D #4C1C7D #7D1C7D
triadic
#4C1C7D #7D4C1C #1C7D4C
tetradic
#4C1C7D #7D1C1C #4D7D1C #1C7D7D
square
#4C1C7D #7D1C1C #4D7D1C #1C7D7D
split-complementary
#4C1C7D #7D7D1C #1C7D1C
monochromatic
#0F0619 #2E114B #4C1C7D #6A27AF #893FD4
Accessibility & contrast
On white
11.87
#4C1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#4C1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1C7D
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1C7D | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#41354B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4c1c7d; /* rgb */ color: rgb(76, 28, 125); /* oklch */ color: oklch(35.6% 0.153 301.4);
Tailwind
colors: {
custom: {
50: '#835ea3',
500: '#4c1c7d',
950: '#000000',
},
}SCSS
$custom: #4c1c7d; $custom-light: #835ea3; $custom-dark: #000000;
JSON
{
"hex": "#4c1c7d",
"rgb": {
"r": 76,
"g": 28,
"b": 125
},
"hsl": {
"h": 269.691,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.3564,
"c": 0.15286,
"h": 301.4
},
"luminance": 0.03848
}Semantic roles & 50–950 ramp
primary
#4C1C7D
secondary
#7BB144
accent
#E64195
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F