#4B198F#4B198F
#4B198F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.175 H 295.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4B198F |
|---|---|
| RGB | rgb(75, 25, 143) |
| HSL | hsl(265, 70%, 33%) |
| HSV | hsv(265, 83%, 56%) |
| CMYK | cmyk(47.6%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.24, 47.54, -55.26) |
| CIE-LCH | lch(24.24, 72.90, 310.71°) |
| OKLab | oklab(36.87% 0.0752 -0.1585) |
| OKLCH | oklch(36.87% 0.175 295.4) |
| XYZ | xyz(8.2059, 4.1741, 26.3546) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.56
Indigo (survey)
#380282
ΔE00 4.49
Indigo Blue
#3A18B1
ΔE00 5.45
Royal Purple (survey)
#4B006E
ΔE00 6.36
Royal
#0C1793
ΔE00 6.91
Ultramarine
#2000B1
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B198F #5D8F19
analogous
#19228F #4B198F #86198F
triadic
#4B198F #8F4B19 #198F4B
tetradic
#4B198F #8F1922 #5D8F19 #198F86
square
#4B198F #8F1922 #5D8F19 #198F86
split-complementary
#4B198F #8F8619 #228F19
monochromatic
#140727 #30105B #4B198F #6622C3 #8544DE
Accessibility & contrast
On white
11.45
#4B198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#4B198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B198F
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B198F | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#373B55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4b198f; /* rgb */ color: rgb(75, 25, 143); /* oklch */ color: oklch(36.9% 0.175 295.4);
Tailwind
colors: {
custom: {
50: '#855db1',
500: '#4b198f',
950: '#000000',
},
}SCSS
$custom: #4b198f; $custom-light: #855db1; $custom-dark: #000000;
JSON
{
"hex": "#4b198f",
"rgb": {
"r": 75,
"g": 25,
"b": 143
},
"hsl": {
"h": 265.424,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.36872,
"c": 0.17542,
"h": 295.4
},
"luminance": 0.04174
}Semantic roles & 50–950 ramp
primary
#4B198F
secondary
#8BBF44
accent
#ED3BA1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980