#4F198F#4F198F
#4F198F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.176 H 297.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4F198F |
|---|---|
| RGB | rgb(79, 25, 143) |
| HSL | hsl(267, 70%, 33%) |
| HSV | hsv(267, 83%, 56%) |
| CMYK | cmyk(44.8%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.77, 48.13, -54.38) |
| CIE-LCH | lch(24.77, 72.62, 311.51°) |
| OKLab | oklab(37.35% 0.0815 -0.1558) |
| OKLCH | oklch(37.35% 0.176 297.6) |
| XYZ | xyz(8.5287, 4.3405, 26.3697) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.55
Indigo (survey)
#380282
ΔE00 4.94
Indigo Blue
#3A18B1
ΔE00 5.82
Royal Purple (survey)
#4B006E
ΔE00 6.22
Rebeccapurple
#663399
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F198F #598F19
analogous
#191E8F #4F198F #8A198F
triadic
#4F198F #8F4F19 #198F4F
tetradic
#4F198F #8F191E #598F19 #198F8A
square
#4F198F #8F191E #598F19 #198F8A
split-complementary
#4F198F #8F8A19 #1E8F19
monochromatic
#150727 #32105B #4F198F #6C22C3 #8B44DE
Accessibility & contrast
On white
11.24
#4F198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#4F198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F198F
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F198F | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#3E3B55
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4f198f; /* rgb */ color: rgb(79, 25, 143); /* oklch */ color: oklch(37.4% 0.176 297.6);
Tailwind
colors: {
custom: {
50: '#875eb1',
500: '#4f198f',
950: '#000000',
},
}SCSS
$custom: #4f198f; $custom-light: #875eb1; $custom-dark: #000000;
JSON
{
"hex": "#4f198f",
"rgb": {
"r": 79,
"g": 25,
"b": 143
},
"hsl": {
"h": 267.458,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.37354,
"c": 0.1758,
"h": 297.6
},
"luminance": 0.04341
}Semantic roles & 50–950 ramp
primary
#4F198F
secondary
#87BF44
accent
#ED3B9B
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980