#4F1C86#4F1C86
#4F1C86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.163 H 300.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1C86 |
|---|---|
| RGB | rgb(79, 28, 134) |
| HSL | hsl(269, 65%, 32%) |
| HSV | hsv(269, 79%, 53%) |
| CMYK | cmyk(41%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(24.37, 44.60, -49.42) |
| CIE-LCH | lch(24.37, 66.57, 312.06°) |
| OKLab | oklab(36.82% 0.0819 -0.1412) |
| OKLCH | oklch(36.82% 0.163 300.1) |
| XYZ | xyz(7.9417, 4.2139, 22.9446) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.52
Indigo (survey)
#380282
ΔE00 5.21
Royal Purple (survey)
#4B006E
ΔE00 5.33
Rebeccapurple
#663399
ΔE00 6.54
Indigo Blue
#3A18B1
ΔE00 7.25
Royal
#0C1793
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1C86 #53861C
analogous
#1C1E86 #4F1C86 #841C86
triadic
#4F1C86 #864F1C #1C864F
tetradic
#4F1C86 #861C1E #53861C #1C8684
square
#4F1C86 #861C1E #53861C #1C8684
split-complementary
#4F1C86 #86841C #1E861C
monochromatic
#130721 #311153 #4F1C86 #6D27B9 #8B44D8
Accessibility & contrast
On white
11.40
#4F1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#4F1C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1C86
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1C86 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#423850
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #4f1c86; /* rgb */ color: rgb(79, 28, 134); /* oklch */ color: oklch(36.8% 0.163 300.1);
Tailwind
colors: {
custom: {
50: '#865eaa',
500: '#4f1c86',
950: '#000000',
},
}SCSS
$custom: #4f1c86; $custom-light: #865eaa; $custom-dark: #000000;
JSON
{
"hex": "#4f1c86",
"rgb": {
"r": 79,
"g": 28,
"b": 134
},
"hsl": {
"h": 268.868,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.36821,
"c": 0.16324,
"h": 300.1
},
"luminance": 0.04214
}Semantic roles & 50–950 ramp
primary
#4F1C86
secondary
#81B945
accent
#E83F97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F