#4A2292#4A2292
#4A2292 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.170 H 292.7°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2292 |
|---|---|
| RGB | rgb(74, 34, 146) |
| HSL | hsl(261, 62%, 35%) |
| HSV | hsv(261, 77%, 57%) |
| CMYK | cmyk(49.3%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(25.79, 44.20, -54.59) |
| CIE-LCH | lch(25.79, 70.24, 309.00°) |
| OKLab | oklab(38.01% 0.0655 -0.1566) |
| OKLCH | oklch(38.01% 0.17 292.7) |
| XYZ | xyz(8.5829, 4.6749, 27.6387) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.14
Indigo
#4B0082
ΔE00 5.23
Indigo (survey)
#380282
ΔE00 5.80
Rebeccapurple
#663399
ΔE00 6.20
Royal
#0C1793
ΔE00 6.88
Ultramarine
#2000B1
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2292 #6A9222
analogous
#223292 #4A2292 #822292
triadic
#4A2292 #924A22 #22924A
tetradic
#4A2292 #922232 #6A9222 #229282
square
#4A2292 #922232 #6A9222 #229282
split-complementary
#4A2292 #928222 #329222
monochromatic
#180B2F #311660 #4A2292 #632EC4 #8557D8
Accessibility & contrast
On white
10.85
#4A2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4A2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2292
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2292 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#334058
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a2292; /* rgb */ color: rgb(74, 34, 146); /* oklch */ color: oklch(38.0% 0.170 292.7);
Tailwind
colors: {
custom: {
50: '#8462b3',
500: '#4a2292',
950: '#000000',
},
}SCSS
$custom: #4a2292; $custom-light: #8462b3; $custom-dark: #000000;
JSON
{
"hex": "#4a2292",
"rgb": {
"r": 74,
"g": 34,
"b": 146
},
"hsl": {
"h": 261.429,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.38011,
"c": 0.16978,
"h": 292.7
},
"luminance": 0.04675
}Semantic roles & 50–950 ramp
primary
#4A2292
secondary
#97BC54
accent
#E543AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980