#4A2294#4A2294
#4A2294 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.172 H 292.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2294 |
|---|---|
| RGB | rgb(74, 34, 148) |
| HSL | hsl(261, 63%, 36%) |
| HSV | hsv(261, 77%, 58%) |
| CMYK | cmyk(50%, 77%, 0%, 42%) |
| CIE-LAB | lab(25.97, 44.76, -55.51) |
| CIE-LCH | lch(25.97, 71.31, 308.88°) |
| OKLab | oklab(38.2% 0.065 -0.1593) |
| OKLCH | oklch(38.2% 0.172 292.2) |
| XYZ | xyz(8.7399, 4.7377, 28.4652) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.86
Indigo
#4B0082
ΔE00 5.38
Indigo (survey)
#380282
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 6.21
Royal
#0C1793
ΔE00 6.82
Ultramarine
#2000B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2294 #6C9422
analogous
#223394 #4A2294 #832294
triadic
#4A2294 #944A22 #22944A
tetradic
#4A2294 #942233 #6C9422 #229483
square
#4A2294 #942233 #6C9422 #229483
split-complementary
#4A2294 #948322 #339422
monochromatic
#180B30 #311762 #4A2294 #632DC6 #8558D9
Accessibility & contrast
On white
10.78
#4A2294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4A2294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2294
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2294 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#32415A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a2294; /* rgb */ color: rgb(74, 34, 148); /* oklch */ color: oklch(38.2% 0.172 292.2);
Tailwind
colors: {
custom: {
50: '#8462b4',
500: '#4a2294',
950: '#000000',
},
}SCSS
$custom: #4a2294; $custom-light: #8462b4; $custom-dark: #000000;
JSON
{
"hex": "#4a2294",
"rgb": {
"r": 74,
"g": 34,
"b": 148
},
"hsl": {
"h": 261.053,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.38199,
"c": 0.17209,
"h": 292.2
},
"luminance": 0.04738
}Semantic roles & 50–950 ramp
primary
#4A2294
secondary
#98BD55
accent
#E642AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80