#4C1DA1#4C1DA1
#4C1DA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.191 H 290.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1DA1 |
|---|---|
| RGB | rgb(76, 29, 161) |
| HSL | hsl(261, 69%, 37%) |
| HSV | hsv(261, 82%, 63%) |
| CMYK | cmyk(52.8%, 82%, 0%, 36.9%) |
| CIE-LAB | lab(26.70, 50.81, -62.27) |
| CIE-LCH | lch(26.70, 80.37, 309.21°) |
| OKLab | oklab(39.14% 0.0678 -0.179) |
| OKLCH | oklch(39.14% 0.191 290.7) |
| XYZ | xyz(9.8510, 4.9880, 34.1550) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.23
Violet Blue
#510AC9
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.78
Indigo
#4B0082
ΔE00 5.97
Indigo (survey)
#380282
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1DA1 #72A11D
analogous
#1D30A1 #4C1DA1 #8E1DA1
triadic
#4C1DA1 #A14C1D #1DA14C
tetradic
#4C1DA1 #A11D30 #72A11D #1DA18E
square
#4C1DA1 #A11D30 #72A11D #1DA18E
split-complementary
#4C1DA1 #A18E1D #30A11D
monochromatic
#1B0A39 #34146D #4C1DA1 #6426D5 #8858E1
Accessibility & contrast
On white
10.51
#4C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4C1DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1DA1
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1DA1 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#2D4460
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c1da1; /* rgb */ color: rgb(76, 29, 161); /* oklch */ color: oklch(39.1% 0.191 290.7);
Tailwind
colors: {
custom: {
50: '#8860be',
500: '#4c1da1',
950: '#000000',
},
}SCSS
$custom: #4c1da1; $custom-light: #8860be; $custom-dark: #000000;
JSON
{
"hex": "#4c1da1",
"rgb": {
"r": 76,
"g": 29,
"b": 161
},
"hsl": {
"h": 261.364,
"s": 69.474,
"l": 37.255
},
"oklch": {
"l": 0.39141,
"c": 0.19142,
"h": 290.7
},
"luminance": 0.04988
}Semantic roles & 50–950 ramp
primary
#4C1DA1
secondary
#9DC455
accent
#EC3CAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981