#4F147F#4F147F
#4F147F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.164 H 303.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4F147F |
|---|---|
| RGB | rgb(79, 20, 127) |
| HSL | hsl(273, 73%, 29%) |
| HSV | hsv(273, 84%, 50%) |
| CMYK | cmyk(37.8%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(22.64, 46.04, -47.83) |
| CIE-LCH | lch(22.64, 66.39, 313.91°) |
| OKLab | oklab(35.42% 0.0905 -0.1365) |
| OKLCH | oklch(35.42% 0.164 303.6) |
| XYZ | xyz(7.3045, 3.6949, 20.4029) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.42
Royal Purple (survey)
#4B006E
ΔE00 3.62
Indigo (survey)
#380282
ΔE00 4.72
Rebeccapurple
#663399
ΔE00 7.83
Indigo Blue
#3A18B1
ΔE00 8.38
Midnight Blue
#191970
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F147F #447F14
analogous
#1A147F #4F147F #7F147A
triadic
#4F147F #7F4F14 #147F4F
tetradic
#4F147F #7F1A14 #447F14 #147A7F
square
#4F147F #7F1A14 #447F14 #147A7F
split-complementary
#4F147F #7A7F14 #147F1A
monochromatic
#10041A #2E0C4A #4F147F #701CB4 #902FDE
Accessibility & contrast
On white
12.08
#4F147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#4F147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F147F
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F147F | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#45324B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #4f147f; /* rgb */ color: rgb(79, 20, 127); /* oklch */ color: oklch(35.4% 0.164 303.6);
Tailwind
colors: {
custom: {
50: '#865aa5',
500: '#4f147f',
950: '#000000',
},
}SCSS
$custom: #4f147f; $custom-light: #865aa5; $custom-dark: #000000;
JSON
{
"hex": "#4f147f",
"rgb": {
"r": 79,
"g": 20,
"b": 127
},
"hsl": {
"h": 273.084,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.3542,
"c": 0.16381,
"h": 303.6
},
"luminance": 0.03695
}Semantic roles & 50–950 ramp
primary
#4F147F
secondary
#71B43B
accent
#EF388A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F