#4A1AA0#4A1AA0
#4A1AA0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.193 H 290.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1AA0 |
|---|---|
| RGB | rgb(74, 26, 160) |
| HSL | hsl(261, 72%, 36%) |
| HSV | hsv(261, 84%, 63%) |
| CMYK | cmyk(53.7%, 83.8%, 0%, 37.3%) |
| CIE-LAB | lab(25.96, 51.49, -62.89) |
| CIE-LCH | lch(25.96, 81.28, 309.30°) |
| OKLab | oklab(38.55% 0.0668 -0.1809) |
| OKLCH | oklch(38.55% 0.193 290.3) |
| XYZ | xyz(9.5368, 4.7323, 33.6618) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.07
Ultramarine
#2000B1
ΔE00 5.35
Violet Blue
#510AC9
ΔE00 5.39
Indigo
#4B0082
ΔE00 5.60
Indigo (survey)
#380282
ΔE00 5.92
Cobalt Blue
#030AA7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1AA0 #70A01A
analogous
#1A2DA0 #4A1AA0 #8D1AA0
triadic
#4A1AA0 #A04A1A #1AA04A
tetradic
#4A1AA0 #A01A2D #70A01A #1AA08D
square
#4A1AA0 #A01A2D #70A01A #1AA08D
split-complementary
#4A1AA0 #A08D1A #2DA01A
monochromatic
#190937 #32116B #4A1AA0 #6223D5 #8652E3
Accessibility & contrast
On white
10.79
#4A1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4A1AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1AA0
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1AA0 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#29435F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a1aa0; /* rgb */ color: rgb(74, 26, 160); /* oklch */ color: oklch(38.5% 0.193 290.3);
Tailwind
colors: {
custom: {
50: '#875fbd',
500: '#4a1aa0',
950: '#000000',
},
}SCSS
$custom: #4a1aa0; $custom-light: #875fbd; $custom-dark: #000000;
JSON
{
"hex": "#4a1aa0",
"rgb": {
"r": 74,
"g": 26,
"b": 160
},
"hsl": {
"h": 261.493,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.38545,
"c": 0.19281,
"h": 290.3
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#4A1AA0
secondary
#9CC550
accent
#EF39AE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981