#4A1C91#4A1C91
#4A1C91 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.175 H 293.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1C91 |
|---|---|
| RGB | rgb(74, 28, 145) |
| HSL | hsl(264, 68%, 34%) |
| HSV | hsv(264, 81%, 57%) |
| CMYK | cmyk(49%, 80.7%, 0%, 43.1%) |
| CIE-LAB | lab(24.73, 46.68, -55.69) |
| CIE-LCH | lch(24.73, 72.67, 309.97°) |
| OKLab | oklab(37.25% 0.0707 -0.1598) |
| OKLCH | oklch(37.25% 0.175 293.9) |
| XYZ | xyz(8.3487, 4.3304, 27.1785) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.18
Indigo (survey)
#380282
ΔE00 4.87
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 6.70
Ultramarine
#2000B1
ΔE00 6.79
Rebeccapurple
#663399
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1C91 #63911C
analogous
#1C2991 #4A1C91 #851C91
triadic
#4A1C91 #914A1C #1C914A
tetradic
#4A1C91 #911C29 #63911C #1C9185
square
#4A1C91 #911C29 #63911C #1C9185
split-complementary
#4A1C91 #91851C #29911C
monochromatic
#16082A #30125E #4A1C91 #6426C4 #844BDC
Accessibility & contrast
On white
11.25
#4A1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#4A1C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1C91
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1C91 | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#343D57
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4a1c91; /* rgb */ color: rgb(74, 28, 145); /* oklch */ color: oklch(37.2% 0.175 293.9);
Tailwind
colors: {
custom: {
50: '#845eb2',
500: '#4a1c91',
950: '#000000',
},
}SCSS
$custom: #4a1c91; $custom-light: #845eb2; $custom-dark: #000000;
JSON
{
"hex": "#4a1c91",
"rgb": {
"r": 74,
"g": 28,
"b": 145
},
"hsl": {
"h": 263.59,
"s": 67.63,
"l": 33.922
},
"oklch": {
"l": 0.37247,
"c": 0.17476,
"h": 293.9
},
"luminance": 0.04331
}Semantic roles & 50–950 ramp
primary
#4A1C91
secondary
#91BE4A
accent
#EB3DA6
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980