#4A2291#4A2291
#4A2291 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.169 H 293.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2291 |
|---|---|
| RGB | rgb(74, 34, 145) |
| HSL | hsl(262, 62%, 35%) |
| HSV | hsv(262, 77%, 57%) |
| CMYK | cmyk(49%, 76.6%, 0%, 43.1%) |
| CIE-LAB | lab(25.70, 43.92, -54.12) |
| CIE-LCH | lch(25.70, 69.70, 309.06°) |
| OKLab | oklab(37.92% 0.0658 -0.1553) |
| OKLCH | oklch(37.92% 0.169 293) |
| XYZ | xyz(8.5055, 4.6439, 27.2308) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.16
Indigo Blue
#3A18B1
ΔE00 5.29
Indigo (survey)
#380282
ΔE00 5.75
Rebeccapurple
#663399
ΔE00 6.20
Royal
#0C1793
ΔE00 6.92
Ultramarine
#2000B1
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2291 #699122
analogous
#223191 #4A2291 #822291
triadic
#4A2291 #914A22 #22914A
tetradic
#4A2291 #912231 #699122 #229182
square
#4A2291 #912231 #699122 #229182
split-complementary
#4A2291 #918222 #319122
monochromatic
#170B2E #31165F #4A2291 #632EC3 #8556D7
Accessibility & contrast
On white
10.89
#4A2291 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4A2291 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2291
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2291 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2291 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#344058
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a2291; /* rgb */ color: rgb(74, 34, 145); /* oklch */ color: oklch(37.9% 0.169 293.0);
Tailwind
colors: {
custom: {
50: '#8462b2',
500: '#4a2291',
950: '#000000',
},
}SCSS
$custom: #4a2291; $custom-light: #8462b2; $custom-dark: #000000;
JSON
{
"hex": "#4a2291",
"rgb": {
"r": 74,
"g": 34,
"b": 145
},
"hsl": {
"h": 261.622,
"s": 62.011,
"l": 35.098
},
"oklch": {
"l": 0.37918,
"c": 0.16862,
"h": 293
},
"luminance": 0.04644
}Semantic roles & 50–950 ramp
primary
#4A2291
secondary
#96BB53
accent
#E543AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980