#4C1A79#4C1A79
#4C1A79 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.151 H 303.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4C1A79 |
|---|---|
| RGB | rgb(76, 26, 121) |
| HSL | hsl(272, 65%, 29%) |
| HSV | hsv(272, 79%, 47%) |
| CMYK | cmyk(37.2%, 78.5%, 0%, 52.5%) |
| CIE-LAB | lab(22.50, 41.63, -44.26) |
| CIE-LCH | lch(22.50, 60.76, 313.24°) |
| OKLab | oklab(35.07% 0.0825 -0.1262) |
| OKLCH | oklch(35.07% 0.151 303.2) |
| XYZ | xyz(6.8003, 3.6558, 18.4328) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.63
Royal Purple (survey)
#4B006E
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 5.36
Rebeccapurple
#663399
ΔE00 7.90
Midnight Blue
#191970
ΔE00 8.34
Plum Purple
#4E0550
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C1A79 #47791A
analogous
#1D1A79 #4C1A79 #791A77
triadic
#4C1A79 #794C1A #1A794C
tetradic
#4C1A79 #791D1A #47791A #1A7779
square
#4C1A79 #791D1A #47791A #1A7779
split-complementary
#4C1A79 #77791A #1A791D
monochromatic
#100519 #2C0F47 #4C1A79 #6C25AB #8B39D4
Accessibility & contrast
On white
12.13
#4C1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#4C1A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C1A79
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C1A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C1A79 | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#433248
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4c1a79; /* rgb */ color: rgb(76, 26, 121); /* oklch */ color: oklch(35.1% 0.151 303.2);
Tailwind
colors: {
custom: {
50: '#835ca0',
500: '#4c1a79',
950: '#000000',
},
}SCSS
$custom: #4c1a79; $custom-light: #835ca0; $custom-dark: #000000;
JSON
{
"hex": "#4c1a79",
"rgb": {
"r": 76,
"g": 26,
"b": 121
},
"hsl": {
"h": 271.579,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.35067,
"c": 0.15076,
"h": 303.2
},
"luminance": 0.03656
}Semantic roles & 50–950 ramp
primary
#4C1A79
secondary
#75AD41
accent
#E8408F
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F