#4C1DA0#4C1DA0
#4C1DA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.190 H 291.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1DA0 |
|---|---|
| RGB | rgb(76, 29, 160) |
| HSL | hsl(262, 69%, 37%) |
| HSV | hsv(262, 82%, 63%) |
| CMYK | cmyk(52.5%, 81.9%, 0%, 37.3%) |
| CIE-LAB | lab(26.60, 50.54, -61.83) |
| CIE-LCH | lch(26.60, 79.86, 309.27°) |
| OKLab | oklab(39.04% 0.0681 -0.1777) |
| OKLCH | oklch(39.04% 0.19 291) |
| XYZ | xyz(9.7632, 4.9529, 33.6925) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.33
Violet Blue
#510AC9
ΔE00 5.41
Ultramarine
#2000B1
ΔE00 5.84
Indigo
#4B0082
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1DA0 #71A01D
analogous
#1D2FA0 #4C1DA0 #8E1DA0
triadic
#4C1DA0 #A04C1D #1DA04C
tetradic
#4C1DA0 #A01D2F #71A01D #1DA08E
square
#4C1DA0 #A01D2F #71A01D #1DA08E
split-complementary
#4C1DA0 #A08E1D #2FA01D
monochromatic
#1B0A38 #33146C #4C1DA0 #6526D4 #8857E1
Accessibility & contrast
On white
10.55
#4C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4C1DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1DA0
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1DA0 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#2E445F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c1da0; /* rgb */ color: rgb(76, 29, 160); /* oklch */ color: oklch(39.0% 0.190 291.0);
Tailwind
colors: {
custom: {
50: '#8860bd',
500: '#4c1da0',
950: '#000000',
},
}SCSS
$custom: #4c1da0; $custom-light: #8860bd; $custom-dark: #000000;
JSON
{
"hex": "#4c1da0",
"rgb": {
"r": 76,
"g": 29,
"b": 160
},
"hsl": {
"h": 261.527,
"s": 69.312,
"l": 37.059
},
"oklch": {
"l": 0.39042,
"c": 0.19032,
"h": 291
},
"luminance": 0.04953
}Semantic roles & 50–950 ramp
primary
#4C1DA0
secondary
#9CC455
accent
#EC3CAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981