#4A1CB4#4A1CB4
#4A1CB4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.8% C 0.213 H 285.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1CB4 |
|---|---|
| RGB | rgb(74, 28, 180) |
| HSL | hsl(258, 73%, 41%) |
| HSV | hsv(258, 84%, 71%) |
| CMYK | cmyk(58.9%, 84.4%, 0%, 29.4%) |
| CIE-LAB | lab(28.33, 56.04, -71.03) |
| CIE-LCH | lch(28.33, 90.48, 308.27°) |
| OKLab | oklab(40.8% 0.0583 -0.2046) |
| OKLCH | oklch(40.8% 0.213 285.9) |
| XYZ | xyz(11.4750, 5.5809, 43.6437) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.11
Violet Blue
#510AC9
ΔE00 2.93
Purple Blue
#5D21D0
ΔE00 4.79
True Blue
#010FCC
ΔE00 5.07
Ultramarine
#2000B1
ΔE00 5.25
Ultramarine Blue
#1805DB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1CB4 #86B41C
analogous
#1C3AB4 #4A1CB4 #961CB4
triadic
#4A1CB4 #B44A1C #1CB44A
tetradic
#4A1CB4 #B41C3A #86B41C #1CB496
square
#4A1CB4 #B41C3A #86B41C #1CB496
split-complementary
#4A1CB4 #B4961C #3AB41C
monochromatic
#1E0C4A #34147F #4A1CB4 #642FDF #8B64E7
Accessibility & contrast
On white
9.92
#4A1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4A1CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1CB4
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1CB4 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#0B4C6B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4a1cb4; /* rgb */ color: rgb(74, 28, 180); /* oklch */ color: oklch(40.8% 0.213 285.9);
Tailwind
colors: {
custom: {
50: '#8a61cc',
500: '#4a1cb4',
950: '#000000',
},
}SCSS
$custom: #4a1cb4; $custom-light: #8a61cc; $custom-dark: #000000;
JSON
{
"hex": "#4a1cb4",
"rgb": {
"r": 74,
"g": 28,
"b": 180
},
"hsl": {
"h": 258.158,
"s": 73.077,
"l": 40.784
},
"oklch": {
"l": 0.40801,
"c": 0.21278,
"h": 285.9
},
"luminance": 0.05582
}Semantic roles & 50–950 ramp
primary
#4A1CB4
secondary
#ABCC60
accent
#F038B8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82