#4F1C7C#4F1C7C
#4F1C7C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.152 H 303.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1C7C |
|---|---|
| RGB | rgb(79, 28, 124) |
| HSL | hsl(272, 63%, 30%) |
| HSV | hsv(272, 77%, 49%) |
| CMYK | cmyk(36.3%, 77.4%, 0%, 51.4%) |
| CIE-LAB | lab(23.50, 42.06, -44.52) |
| CIE-LCH | lch(23.50, 61.25, 313.37°) |
| OKLab | oklab(35.94% 0.0844 -0.1269) |
| OKLCH | oklch(35.94% 0.152 303.6) |
| XYZ | xyz(7.2769, 3.9480, 19.4435) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.85
Royal Purple (survey)
#4B006E
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 5.76
Rebeccapurple
#663399
ΔE00 7.19
Midnight Blue
#191970
ΔE00 8.81
Indigo Blue
#3A18B1
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1C7C #497C1C
analogous
#1F1C7C #4F1C7C #7C1C79
triadic
#4F1C7C #7C4F1C #1C7C4F
tetradic
#4F1C7C #7C1F1C #497C1C #1C797C
square
#4F1C7C #7C1F1C #497C1C #1C797C
split-complementary
#4F1C7C #797C1C #1C7C1F
monochromatic
#100619 #2F114A #4F1C7C #6F27AE #8E3FD4
Accessibility & contrast
On white
11.73
#4F1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#4F1C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1C7C
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1C7C | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#46344B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #4f1c7c; /* rgb */ color: rgb(79, 28, 124); /* oklch */ color: oklch(35.9% 0.152 303.6);
Tailwind
colors: {
custom: {
50: '#855ea3',
500: '#4f1c7c',
950: '#000000',
},
}SCSS
$custom: #4f1c7c; $custom-light: #855ea3; $custom-dark: #000000;
JSON
{
"hex": "#4f1c7c",
"rgb": {
"r": 79,
"g": 28,
"b": 124
},
"hsl": {
"h": 271.875,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.35942,
"c": 0.15238,
"h": 303.6
},
"luminance": 0.03948
}Semantic roles & 50–950 ramp
primary
#4F1C7C
secondary
#77B044
accent
#E6428F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F