#4C1D9D#4C1D9D
#4C1D9D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.187 H 291.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1D9D |
|---|---|
| RGB | rgb(76, 29, 157) |
| HSL | hsl(262, 69%, 36%) |
| HSV | hsv(262, 82%, 62%) |
| CMYK | cmyk(51.6%, 81.5%, 0%, 38.4%) |
| CIE-LAB | lab(26.30, 49.74, -60.49) |
| CIE-LCH | lch(26.30, 78.32, 309.43°) |
| OKLab | oklab(38.74% 0.0691 -0.1738) |
| OKLCH | oklch(38.74% 0.187 291.7) |
| XYZ | xyz(9.5039, 4.8492, 32.3270) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.67
Indigo
#4B0082
ΔE00 5.51
Violet Blue
#510AC9
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 6.02
Indigo (survey)
#380282
ΔE00 6.04
Rebeccapurple
#663399
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1D9D #6E9D1D
analogous
#1D2E9D #4C1D9D #8C1D9D
triadic
#4C1D9D #9D4C1D #1D9D4C
tetradic
#4C1D9D #9D1D2E #6E9D1D #1D9D8C
square
#4C1D9D #9D1D2E #6E9D1D #1D9D8C
split-complementary
#4C1D9D #9D8C1D #2E9D1D
monochromatic
#1A0A36 #331369 #4C1D9D #6527D1 #8855E0
Accessibility & contrast
On white
10.66
#4C1D9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4C1D9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1D9D
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1D9D | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#30435E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c1d9d; /* rgb */ color: rgb(76, 29, 157); /* oklch */ color: oklch(38.7% 0.187 291.7);
Tailwind
colors: {
custom: {
50: '#8760bb',
500: '#4c1d9d',
950: '#000000',
},
}SCSS
$custom: #4c1d9d; $custom-light: #8760bb; $custom-dark: #000000;
JSON
{
"hex": "#4c1d9d",
"rgb": {
"r": 76,
"g": 29,
"b": 157
},
"hsl": {
"h": 262.031,
"s": 68.817,
"l": 36.471
},
"oklch": {
"l": 0.38744,
"c": 0.18706,
"h": 291.7
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#4C1D9D
secondary
#9AC353
accent
#EC3CAB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981