#4A1BA0#4A1BA0
#4A1BA0 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.192 H 290.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1BA0 |
|---|---|
| RGB | rgb(74, 27, 160) |
| HSL | hsl(261, 71%, 37%) |
| HSV | hsv(261, 83%, 63%) |
| CMYK | cmyk(53.7%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(26.09, 51.10, -62.67) |
| CIE-LCH | lch(26.09, 80.86, 309.19°) |
| OKLab | oklab(38.64% 0.0662 -0.1802) |
| OKLCH | oklch(38.64% 0.192 290.2) |
| XYZ | xyz(9.5593, 4.7773, 33.6693) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.08
Violet Blue
#510AC9
ΔE00 5.40
Ultramarine
#2000B1
ΔE00 5.43
Indigo
#4B0082
ΔE00 5.69
Indigo (survey)
#380282
ΔE00 6.01
Cobalt Blue
#030AA7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1BA0 #71A01B
analogous
#1B2FA0 #4A1BA0 #8D1BA0
triadic
#4A1BA0 #A04A1B #1BA04A
tetradic
#4A1BA0 #A01B2F #71A01B #1BA08D
square
#4A1BA0 #A01B2F #71A01B #1BA08D
split-complementary
#4A1BA0 #A08D1B #2FA01B
monochromatic
#1A0937 #32126C #4A1BA0 #6224D4 #8653E2
Accessibility & contrast
On white
10.74
#4A1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4A1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1BA0
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1BA0 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#29435F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4a1ba0; /* rgb */ color: rgb(74, 27, 160); /* oklch */ color: oklch(38.6% 0.192 290.2);
Tailwind
colors: {
custom: {
50: '#875fbd',
500: '#4a1ba0',
950: '#000000',
},
}SCSS
$custom: #4a1ba0; $custom-light: #875fbd; $custom-dark: #000000;
JSON
{
"hex": "#4a1ba0",
"rgb": {
"r": 74,
"g": 27,
"b": 160
},
"hsl": {
"h": 261.203,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.38637,
"c": 0.19201,
"h": 290.2
},
"luminance": 0.04778
}Semantic roles & 50–950 ramp
primary
#4A1BA0
secondary
#9CC552
accent
#EE3AAE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981