#4A2091#4A2091
#4A2091 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.171 H 293.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2091 |
|---|---|
| RGB | rgb(74, 32, 145) |
| HSL | hsl(262, 64%, 35%) |
| HSV | hsv(262, 78%, 57%) |
| CMYK | cmyk(49%, 77.9%, 0%, 43.1%) |
| CIE-LAB | lab(25.36, 44.88, -54.67) |
| CIE-LCH | lch(25.36, 70.73, 309.38°) |
| OKLab | oklab(37.68% 0.0675 -0.1568) |
| OKLCH | oklch(37.68% 0.171 293.3) |
| XYZ | xyz(8.4500, 4.5329, 27.2123) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.81
Indigo Blue
#3A18B1
ΔE00 5.19
Indigo (survey)
#380282
ΔE00 5.43
Rebeccapurple
#663399
ΔE00 6.42
Royal
#0C1793
ΔE00 6.82
Ultramarine
#2000B1
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2091 #679120
analogous
#202E91 #4A2091 #832091
triadic
#4A2091 #914A20 #20914A
tetradic
#4A2091 #91202E #679120 #209183
square
#4A2091 #91202E #679120 #209183
split-complementary
#4A2091 #918320 #2E9120
monochromatic
#170A2D #30155F #4A2091 #642BC3 #8452D9
Accessibility & contrast
On white
11.01
#4A2091 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4A2091 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2091
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2091 | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#343F57
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4a2091; /* rgb */ color: rgb(74, 32, 145); /* oklch */ color: oklch(37.7% 0.171 293.3);
Tailwind
colors: {
custom: {
50: '#8460b2',
500: '#4a2091',
950: '#000000',
},
}SCSS
$custom: #4a2091; $custom-light: #8460b2; $custom-dark: #000000;
JSON
{
"hex": "#4a2091",
"rgb": {
"r": 74,
"g": 32,
"b": 145
},
"hsl": {
"h": 262.301,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.37683,
"c": 0.17075,
"h": 293.3
},
"luminance": 0.04533
}Semantic roles & 50–950 ramp
primary
#4A2091
secondary
#94BC51
accent
#E741A9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980