#4C1699#4C1699
#4C1699 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.189 H 293.5°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1699 |
|---|---|
| RGB | rgb(76, 22, 153) |
| HSL | hsl(265, 75%, 34%) |
| HSV | hsv(265, 86%, 60%) |
| CMYK | cmyk(50.3%, 85.6%, 0%, 40%) |
| CIE-LAB | lab(24.98, 51.38, -60.21) |
| CIE-LCH | lch(24.98, 79.15, 310.47°) |
| OKLab | oklab(37.71% 0.0751 -0.1729) |
| OKLCH | oklch(37.71% 0.189 293.5) |
| XYZ | xyz(9.0156, 4.4099, 30.5070) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Indigo
#4B0082
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 5.03
Ultramarine
#2000B1
ΔE00 5.86
Violet Blue
#510AC9
ΔE00 6.34
Cobalt Blue
#030AA7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1699 #639916
analogous
#162199 #4C1699 #8E1699
triadic
#4C1699 #994C16 #16994C
tetradic
#4C1699 #991621 #639916 #16998E
square
#4C1699 #991621 #639916 #16998E
split-complementary
#4C1699 #998E16 #219916
monochromatic
#17072E #310E63 #4C1699 #671ECF #8745E4
Accessibility & contrast
On white
11.16
#4C1699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#4C1699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1699
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1699 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#333E5A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4c1699; /* rgb */ color: rgb(76, 22, 153); /* oklch */ color: oklch(37.7% 0.189 293.5);
Tailwind
colors: {
custom: {
50: '#875db8',
500: '#4c1699',
950: '#000000',
},
}SCSS
$custom: #4c1699; $custom-light: #875db8; $custom-dark: #000000;
JSON
{
"hex": "#4c1699",
"rgb": {
"r": 76,
"g": 22,
"b": 153
},
"hsl": {
"h": 264.733,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.37715,
"c": 0.18851,
"h": 293.5
},
"luminance": 0.0441
}Semantic roles & 50–950 ramp
primary
#4C1699
secondary
#91C546
accent
#F136A4
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981