#4A2293#4A2293
#4A2293 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.171 H 292.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2293 |
|---|---|
| RGB | rgb(74, 34, 147) |
| HSL | hsl(261, 62%, 35%) |
| HSV | hsv(261, 77%, 58%) |
| CMYK | cmyk(49.7%, 76.9%, 0%, 42.4%) |
| CIE-LAB | lab(25.88, 44.48, -55.05) |
| CIE-LCH | lch(25.88, 70.77, 308.94°) |
| OKLab | oklab(38.1% 0.0653 -0.158) |
| OKLCH | oklch(38.1% 0.171 292.4) |
| XYZ | xyz(8.6611, 4.7062, 28.0501) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.30
Indigo (survey)
#380282
ΔE00 5.85
Rebeccapurple
#663399
ΔE00 6.20
Royal
#0C1793
ΔE00 6.85
Ultramarine
#2000B1
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2293 #6B9322
analogous
#223293 #4A2293 #822293
triadic
#4A2293 #934A22 #22934A
tetradic
#4A2293 #932232 #6B9322 #229382
square
#4A2293 #932232 #6B9322 #229382
split-complementary
#4A2293 #938222 #329322
monochromatic
#180B30 #311761 #4A2293 #632DC5 #8557D8
Accessibility & contrast
On white
10.82
#4A2293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4A2293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2293
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2293 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#334159
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a2293; /* rgb */ color: rgb(74, 34, 147); /* oklch */ color: oklch(38.1% 0.171 292.4);
Tailwind
colors: {
custom: {
50: '#8462b4',
500: '#4a2293',
950: '#000000',
},
}SCSS
$custom: #4a2293; $custom-light: #8462b4; $custom-dark: #000000;
JSON
{
"hex": "#4a2293",
"rgb": {
"r": 74,
"g": 34,
"b": 147
},
"hsl": {
"h": 261.239,
"s": 62.431,
"l": 35.49
},
"oklch": {
"l": 0.38105,
"c": 0.17093,
"h": 292.4
},
"luminance": 0.04706
}Semantic roles & 50–950 ramp
primary
#4A2293
secondary
#98BC55
accent
#E542AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980