#4C1DA8#4C1DA8
#4C1DA8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.199 H 289.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1DA8 |
|---|---|
| RGB | rgb(76, 29, 168) |
| HSL | hsl(260, 71%, 39%) |
| HSV | hsv(260, 83%, 66%) |
| CMYK | cmyk(54.8%, 82.7%, 0%, 34.1%) |
| CIE-LAB | lab(27.41, 52.68, -65.34) |
| CIE-LCH | lch(27.41, 83.93, 308.88°) |
| OKLab | oklab(39.85% 0.0653 -0.188) |
| OKLCH | oklch(39.85% 0.199 289.2) |
| XYZ | xyz(10.4857, 5.2419, 37.4975) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.63
Violet Blue
#510AC9
ΔE00 4.35
Ultramarine
#2000B1
ΔE00 5.52
Purple Blue
#5D21D0
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1DA8 #79A81D
analogous
#1D33A8 #4C1DA8 #911DA8
triadic
#4C1DA8 #A84C1D #1DA84C
tetradic
#4C1DA8 #A81D33 #79A81D #1DA891
square
#4C1DA8 #A81D33 #79A81D #1DA891
split-complementary
#4C1DA8 #A8911D #33A81D
monochromatic
#1D0B40 #341474 #4C1DA8 #6428DA #8A5CE3
Accessibility & contrast
On white
10.25
#4C1DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4C1DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1DA8
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1DA8 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#264764
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c1da8; /* rgb */ color: rgb(76, 29, 168); /* oklch */ color: oklch(39.8% 0.199 289.2);
Tailwind
colors: {
custom: {
50: '#8961c3',
500: '#4c1da8',
950: '#000000',
},
}SCSS
$custom: #4c1da8; $custom-light: #8961c3; $custom-dark: #000000;
JSON
{
"hex": "#4c1da8",
"rgb": {
"r": 76,
"g": 29,
"b": 168
},
"hsl": {
"h": 260.288,
"s": 70.558,
"l": 38.627
},
"oklch": {
"l": 0.39847,
"c": 0.199,
"h": 289.2
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#4C1DA8
secondary
#A2C75A
accent
#ED3AB1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82