#4A198F#4A198F
#4A198F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.175 H 294.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4A198F |
|---|---|
| RGB | rgb(74, 25, 143) |
| HSL | hsl(265, 70%, 33%) |
| HSV | hsv(265, 83%, 56%) |
| CMYK | cmyk(48.3%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.11, 47.40, -55.48) |
| CIE-LCH | lch(24.11, 72.97, 310.51°) |
| OKLab | oklab(36.75% 0.0736 -0.1592) |
| OKLCH | oklch(36.75% 0.175 294.8) |
| XYZ | xyz(8.1282, 4.1340, 26.3510) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.59
Indigo (survey)
#380282
ΔE00 4.39
Indigo Blue
#3A18B1
ΔE00 5.37
Royal Purple (survey)
#4B006E
ΔE00 6.40
Royal
#0C1793
ΔE00 6.74
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A198F #5E8F19
analogous
#19238F #4A198F #85198F
triadic
#4A198F #8F4A19 #198F4A
tetradic
#4A198F #8F1923 #5E8F19 #198F85
square
#4A198F #8F1923 #5E8F19 #198F85
split-complementary
#4A198F #8F8519 #238F19
monochromatic
#140727 #2F105B #4A198F #6522C3 #8444DE
Accessibility & contrast
On white
11.50
#4A198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#4A198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A198F
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A198F | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#353B55
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4a198f; /* rgb */ color: rgb(74, 25, 143); /* oklch */ color: oklch(36.8% 0.175 294.8);
Tailwind
colors: {
custom: {
50: '#845db1',
500: '#4a198f',
950: '#000000',
},
}SCSS
$custom: #4a198f; $custom-light: #845db1; $custom-dark: #000000;
JSON
{
"hex": "#4a198f",
"rgb": {
"r": 74,
"g": 25,
"b": 143
},
"hsl": {
"h": 264.915,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.36754,
"c": 0.17535,
"h": 294.8
},
"luminance": 0.04134
}Semantic roles & 50–950 ramp
primary
#4A198F
secondary
#8CBF44
accent
#ED3BA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980