#4A2092#4A2092
#4A2092 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.172 H 293.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2092 |
|---|---|
| RGB | rgb(74, 32, 146) |
| HSL | hsl(262, 64%, 35%) |
| HSV | hsv(262, 78%, 57%) |
| CMYK | cmyk(49.3%, 78.1%, 0%, 42.7%) |
| CIE-LAB | lab(25.45, 45.15, -55.13) |
| CIE-LCH | lch(25.45, 71.26, 309.32°) |
| OKLab | oklab(37.78% 0.0672 -0.1582) |
| OKLCH | oklch(37.78% 0.172 293) |
| XYZ | xyz(8.5274, 4.5639, 27.6202) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.89
Indigo Blue
#3A18B1
ΔE00 5.04
Indigo (survey)
#380282
ΔE00 5.48
Rebeccapurple
#663399
ΔE00 6.41
Royal
#0C1793
ΔE00 6.78
Ultramarine
#2000B1
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2092 #689220
analogous
#202F92 #4A2092 #832092
triadic
#4A2092 #924A20 #20924A
tetradic
#4A2092 #92202F #689220 #209283
square
#4A2092 #92202F #689220 #209283
split-complementary
#4A2092 #928320 #2F9220
monochromatic
#170A2E #311560 #4A2092 #632BC4 #8553D9
Accessibility & contrast
On white
10.98
#4A2092 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4A2092 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2092
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2092 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2092 | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#334058
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4a2092; /* rgb */ color: rgb(74, 32, 146); /* oklch */ color: oklch(37.8% 0.172 293.0);
Tailwind
colors: {
custom: {
50: '#8461b3',
500: '#4a2092',
950: '#000000',
},
}SCSS
$custom: #4a2092; $custom-light: #8461b3; $custom-dark: #000000;
JSON
{
"hex": "#4a2092",
"rgb": {
"r": 74,
"g": 32,
"b": 146
},
"hsl": {
"h": 262.105,
"s": 64.045,
"l": 34.902
},
"oklch": {
"l": 0.37778,
"c": 0.17189,
"h": 293
},
"luminance": 0.04564
}Semantic roles & 50–950 ramp
primary
#4A2092
secondary
#95BD51
accent
#E741AA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980