#4C1CB4#4C1CB4
#4C1CB4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.0% C 0.213 H 286.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1CB4 |
|---|---|
| RGB | rgb(76, 28, 180) |
| HSL | hsl(259, 73%, 41%) |
| HSV | hsv(259, 84%, 71%) |
| CMYK | cmyk(57.8%, 84.4%, 0%, 29.4%) |
| CIE-LAB | lab(28.54, 56.25, -70.67) |
| CIE-LCH | lch(28.54, 90.32, 308.51°) |
| OKLab | oklab(41% 0.0615 -0.2035) |
| OKLCH | oklch(41% 0.213 286.8) |
| XYZ | xyz(11.6315, 5.6616, 43.6511) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.36
Violet Blue
#510AC9
ΔE00 2.86
Purple Blue
#5D21D0
ΔE00 4.64
True Blue
#010FCC
ΔE00 5.29
Ultramarine
#2000B1
ΔE00 5.46
Ultramarine Blue
#1805DB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1CB4 #84B41C
analogous
#1C38B4 #4C1CB4 #981CB4
triadic
#4C1CB4 #B44C1C #1CB44C
tetradic
#4C1CB4 #B41C38 #84B41C #1CB498
square
#4C1CB4 #B41C38 #84B41C #1CB498
split-complementary
#4C1CB4 #B4981C #38B41C
monochromatic
#1F0C4A #36147F #4C1CB4 #662FDF #8D64E7
Accessibility & contrast
On white
9.85
#4C1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4C1CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1CB4
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1CB4 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#164C6B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4c1cb4; /* rgb */ color: rgb(76, 28, 180); /* oklch */ color: oklch(41.0% 0.213 286.8);
Tailwind
colors: {
custom: {
50: '#8b61cc',
500: '#4c1cb4',
950: '#000000',
},
}SCSS
$custom: #4c1cb4; $custom-light: #8b61cc; $custom-dark: #000000;
JSON
{
"hex": "#4c1cb4",
"rgb": {
"r": 76,
"g": 28,
"b": 180
},
"hsl": {
"h": 258.947,
"s": 73.077,
"l": 40.784
},
"oklch": {
"l": 0.40996,
"c": 0.21262,
"h": 286.8
},
"luminance": 0.05662
}Semantic roles & 50–950 ramp
primary
#4C1CB4
secondary
#AACC60
accent
#F038B6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82