#4C1C95#4C1C95
#4C1C95 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.179 H 293.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1C95 |
|---|---|
| RGB | rgb(76, 28, 149) |
| HSL | hsl(264, 68%, 35%) |
| HSV | hsv(264, 81%, 58%) |
| CMYK | cmyk(49%, 81.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.37, 48.03, -57.11) |
| CIE-LCH | lch(25.37, 74.62, 310.07°) |
| OKLab | oklab(37.86% 0.0725 -0.1639) |
| OKLCH | oklch(37.86% 0.179 293.9) |
| XYZ | xyz(8.8191, 4.5367, 28.8389) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.52
Indigo Blue
#3A18B1
ΔE00 4.69
Indigo (survey)
#380282
ΔE00 5.28
Rebeccapurple
#663399
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.60
Royal
#0C1793
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1C95 #65951C
analogous
#1C2895 #4C1C95 #891C95
triadic
#4C1C95 #954C1C #1C954C
tetradic
#4C1C95 #951C28 #65951C #1C9589
square
#4C1C95 #951C28 #65951C #1C9589
split-complementary
#4C1C95 #95891C #28951C
monochromatic
#17092E #321261 #4C1C95 #6626C9 #874EDE
Accessibility & contrast
On white
11.01
#4C1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4C1C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1C95
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1C95 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#353F59
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4c1c95; /* rgb */ color: rgb(76, 28, 149); /* oklch */ color: oklch(37.9% 0.179 293.9);
Tailwind
colors: {
custom: {
50: '#865fb5',
500: '#4c1c95',
950: '#000000',
},
}SCSS
$custom: #4c1c95; $custom-light: #865fb5; $custom-dark: #000000;
JSON
{
"hex": "#4c1c95",
"rgb": {
"r": 76,
"g": 28,
"b": 149
},
"hsl": {
"h": 263.802,
"s": 68.362,
"l": 34.706
},
"oklch": {
"l": 0.37863,
"c": 0.17924,
"h": 293.9
},
"luminance": 0.04537
}Semantic roles & 50–950 ramp
primary
#4C1C95
secondary
#92C04D
accent
#EB3DA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980