#4B198E#4B198E
#4B198E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.174 H 295.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4B198E |
|---|---|
| RGB | rgb(75, 25, 142) |
| HSL | hsl(266, 70%, 33%) |
| HSV | hsv(266, 82%, 56%) |
| CMYK | cmyk(47.2%, 82.4%, 0%, 44.3%) |
| CIE-LAB | lab(24.14, 47.28, -54.80) |
| CIE-LCH | lch(24.14, 72.38, 310.79°) |
| OKLab | oklab(36.78% 0.0755 -0.1572) |
| OKLCH | oklch(36.78% 0.174 295.7) |
| XYZ | xyz(8.1304, 4.1439, 25.9574) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 4.45
Indigo Blue
#3A18B1
ΔE00 5.60
Royal Purple (survey)
#4B006E
ΔE00 6.22
Royal
#0C1793
ΔE00 6.96
Ultramarine
#2000B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B198E #5C8E19
analogous
#19218E #4B198E #85198E
triadic
#4B198E #8E4B19 #198E4B
tetradic
#4B198E #8E1921 #5C8E19 #198E85
square
#4B198E #8E1921 #5C8E19 #198E85
split-complementary
#4B198E #8E8519 #218E19
monochromatic
#140726 #30105A #4B198E #6622C2 #8543DE
Accessibility & contrast
On white
11.48
#4B198E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#4B198E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B198E
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B198E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B198E | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#383B54
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #4b198e; /* rgb */ color: rgb(75, 25, 142); /* oklch */ color: oklch(36.8% 0.174 295.7);
Tailwind
colors: {
custom: {
50: '#855db0',
500: '#4b198e',
950: '#000000',
},
}SCSS
$custom: #4b198e; $custom-light: #855db0; $custom-dark: #000000;
JSON
{
"hex": "#4b198e",
"rgb": {
"r": 75,
"g": 25,
"b": 142
},
"hsl": {
"h": 265.641,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.36775,
"c": 0.17435,
"h": 295.7
},
"luminance": 0.04144
}Semantic roles & 50–950 ramp
primary
#4B198E
secondary
#8ABF44
accent
#ED3BA1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980