#4C1D7F#4C1D7F
#4C1D7F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.154 H 300.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1D7F |
|---|---|
| RGB | rgb(76, 29, 127) |
| HSL | hsl(269, 63%, 31%) |
| HSV | hsv(269, 77%, 50%) |
| CMYK | cmyk(40.2%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.50, 41.80, -46.45) |
| CIE-LCH | lch(23.50, 62.49, 311.99°) |
| OKLab | oklab(35.93% 0.0781 -0.1326) |
| OKLCH | oklch(35.93% 0.154 300.5) |
| XYZ | xyz(7.2497, 3.9475, 20.4546) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.75
Royal Purple (survey)
#4B006E
ΔE00 4.79
Indigo (survey)
#380282
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 7.13
Midnight Blue
#191970
ΔE00 8.16
Indigo Blue
#3A18B1
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1D7F #507F1D
analogous
#1D1F7F #4C1D7F #7D1D7F
triadic
#4C1D7F #7F4C1D #1D7F4C
tetradic
#4C1D7F #7F1D1F #507F1D #1D7F7D
square
#4C1D7F #7F1D1F #507F1D #1D7F7D
split-complementary
#4C1D7F #7F7D1D #1F7F1D
monochromatic
#10061B #2E124D #4C1D7F #6A28B1 #8842D4
Accessibility & contrast
On white
11.73
#4C1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#4C1D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1D7F
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1D7F | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#40364D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #4c1d7f; /* rgb */ color: rgb(76, 29, 127); /* oklch */ color: oklch(35.9% 0.154 300.5);
Tailwind
colors: {
custom: {
50: '#835ea5',
500: '#4c1d7f',
950: '#000000',
},
}SCSS
$custom: #4c1d7f; $custom-light: #835ea5; $custom-dark: #000000;
JSON
{
"hex": "#4c1d7f",
"rgb": {
"r": 76,
"g": 29,
"b": 127
},
"hsl": {
"h": 268.776,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.3593,
"c": 0.15393,
"h": 300.5
},
"luminance": 0.03948
}Semantic roles & 50–950 ramp
primary
#4C1D7F
secondary
#7EB245
accent
#E64297
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F