#4A2A97#4A2A97
#4A2A97 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.167 H 290.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2A97 |
|---|---|
| RGB | rgb(74, 42, 151) |
| HSL | hsl(258, 56%, 38%) |
| HSV | hsv(258, 72%, 59%) |
| CMYK | cmyk(51%, 72.2%, 0%, 40.8%) |
| CIE-LAB | lab(27.70, 41.52, -54.54) |
| CIE-LCH | lch(27.70, 68.54, 307.28°) |
| OKLab | oklab(39.5% 0.0571 -0.1565) |
| OKLCH | oklch(39.5% 0.167 290.1) |
| XYZ | xyz(9.2363, 5.3458, 29.8173) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 6.09
Blueberry
#464196
ΔE00 6.76
Indigo
#4B0082
ΔE00 7.11
Royal
#0C1793
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2A97 #77972A
analogous
#2A4097 #4A2A97 #812A97
triadic
#4A2A97 #974A2A #2A974A
tetradic
#4A2A97 #972A40 #77972A #2A9781
square
#4A2A97 #972A40 #77972A #2A9781
split-complementary
#4A2A97 #97812A #40972A
monochromatic
#1B0F37 #331D67 #4A2A97 #6137C7 #8767D5
Accessibility & contrast
On white
10.15
#4A2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4A2A97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2A97
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2A97 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#2F465D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a2a97; /* rgb */ color: rgb(74, 42, 151); /* oklch */ color: oklch(39.5% 0.167 290.1);
Tailwind
colors: {
custom: {
50: '#8466b7',
500: '#4a2a97',
950: '#000000',
},
}SCSS
$custom: #4a2a97; $custom-light: #8466b7; $custom-dark: #000000;
JSON
{
"hex": "#4a2a97",
"rgb": {
"r": 74,
"g": 42,
"b": 151
},
"hsl": {
"h": 257.615,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.39501,
"c": 0.16663,
"h": 290.1
},
"luminance": 0.05346
}Semantic roles & 50–950 ramp
primary
#4A2A97
secondary
#A1BB62
accent
#E048B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80