#4A2A96#4A2A96
#4A2A96 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.165 H 290.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2A96 |
|---|---|
| RGB | rgb(74, 42, 150) |
| HSL | hsl(258, 56%, 38%) |
| HSV | hsv(258, 72%, 59%) |
| CMYK | cmyk(50.7%, 72%, 0%, 41.2%) |
| CIE-LAB | lab(27.61, 41.23, -54.07) |
| CIE-LCH | lch(27.61, 67.99, 307.33°) |
| OKLab | oklab(39.41% 0.0573 -0.1551) |
| OKLCH | oklch(39.41% 0.165 290.3) |
| XYZ | xyz(9.1554, 5.3134, 29.3914) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.37
Rebeccapurple
#663399
ΔE00 5.53
Darkslateblue
#483D8B
ΔE00 6.04
Blueberry
#464196
ΔE00 6.76
Indigo
#4B0082
ΔE00 7.05
Royal
#0C1793
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2A96 #76962A
analogous
#2A4096 #4A2A96 #802A96
triadic
#4A2A96 #964A2A #2A964A
tetradic
#4A2A96 #962A40 #76962A #2A9680
square
#4A2A96 #962A40 #76962A #2A9680
split-complementary
#4A2A96 #96802A #40962A
monochromatic
#1B0F36 #321D66 #4A2A96 #6237C6 #8766D4
Accessibility & contrast
On white
10.18
#4A2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4A2A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2A96
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2A96 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#30465D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a2a96; /* rgb */ color: rgb(74, 42, 150); /* oklch */ color: oklch(39.4% 0.165 290.3);
Tailwind
colors: {
custom: {
50: '#8466b6',
500: '#4a2a96',
950: '#000000',
},
}SCSS
$custom: #4a2a96; $custom-light: #8466b6; $custom-dark: #000000;
JSON
{
"hex": "#4a2a96",
"rgb": {
"r": 74,
"g": 42,
"b": 150
},
"hsl": {
"h": 257.778,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.39411,
"c": 0.16541,
"h": 290.3
},
"luminance": 0.05314
}Semantic roles & 50–950 ramp
primary
#4A2A96
secondary
#A0BA61
accent
#E048B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80