#4C1895#4C1895
#4C1895 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.183 H 294.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1895 |
|---|---|
| RGB | rgb(76, 24, 149) |
| HSL | hsl(265, 72%, 34%) |
| HSV | hsv(265, 84%, 58%) |
| CMYK | cmyk(49%, 83.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.83, 49.63, -58.01) |
| CIE-LCH | lch(24.83, 76.34, 310.55°) |
| OKLab | oklab(37.49% 0.0753 -0.1665) |
| OKLCH | oklch(37.49% 0.183 294.3) |
| XYZ | xyz(8.7304, 4.3594, 28.8094) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 4.86
Ultramarine
#2000B1
ΔE00 6.34
Royal
#0C1793
ΔE00 6.86
Cobalt Blue
#030AA7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1895 #619518
analogous
#182395 #4C1895 #8B1895
triadic
#4C1895 #954C18 #18954C
tetradic
#4C1895 #951823 #619518 #18958B
square
#4C1895 #951823 #619518 #18958B
split-complementary
#4C1895 #958B18 #239518
monochromatic
#16072C #311060 #4C1895 #6720CA #8746E1
Accessibility & contrast
On white
11.22
#4C1895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#4C1895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1895
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1895 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#363D58
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4c1895; /* rgb */ color: rgb(76, 24, 149); /* oklch */ color: oklch(37.5% 0.183 294.3);
Tailwind
colors: {
custom: {
50: '#865db5',
500: '#4c1895',
950: '#000000',
},
}SCSS
$custom: #4c1895; $custom-light: #865db5; $custom-dark: #000000;
JSON
{
"hex": "#4c1895",
"rgb": {
"r": 76,
"g": 24,
"b": 149
},
"hsl": {
"h": 264.96,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.37485,
"c": 0.18274,
"h": 294.3
},
"luminance": 0.0436
}Semantic roles & 50–950 ramp
primary
#4C1895
secondary
#8FC246
accent
#EF39A3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980