#4A199E#4A199E
#4A199E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.3% C 0.191 H 290.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4A199E |
|---|---|
| RGB | rgb(74, 25, 158) |
| HSL | hsl(262, 73%, 36%) |
| HSV | hsv(262, 84%, 62%) |
| CMYK | cmyk(53.2%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(25.62, 51.34, -62.23) |
| CIE-LCH | lch(25.62, 80.67, 309.52°) |
| OKLab | oklab(38.25% 0.0682 -0.1789) |
| OKLCH | oklch(38.25% 0.191 290.9) |
| XYZ | xyz(9.3415, 4.6193, 32.7405) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.31
Indigo
#4B0082
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.41
Indigo (survey)
#380282
ΔE00 5.62
Violet Blue
#510AC9
ΔE00 5.66
Cobalt Blue
#030AA7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A199E #6D9E19
analogous
#192A9E #4A199E #8C199E
triadic
#4A199E #9E4A19 #199E4A
tetradic
#4A199E #9E192A #6D9E19 #199E8C
square
#4A199E #9E192A #6D9E19 #199E8C
split-complementary
#4A199E #9E8C19 #2A9E19
monochromatic
#190834 #311169 #4A199E #6321D3 #854EE3
Accessibility & contrast
On white
10.91
#4A199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#4A199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A199E
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A199E | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#2B425E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a199e; /* rgb */ color: rgb(74, 25, 158); /* oklch */ color: oklch(38.3% 0.191 290.9);
Tailwind
colors: {
custom: {
50: '#875ebc',
500: '#4a199e',
950: '#000000',
},
}SCSS
$custom: #4a199e; $custom-light: #875ebc; $custom-dark: #000000;
JSON
{
"hex": "#4a199e",
"rgb": {
"r": 74,
"g": 25,
"b": 158
},
"hsl": {
"h": 262.105,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.38252,
"c": 0.19145,
"h": 290.9
},
"luminance": 0.0462
}Semantic roles & 50–950 ramp
primary
#4A199E
secondary
#99C54E
accent
#EF38AC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981