#4F1C7D#4F1C7D
#4F1C7D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.153 H 303.3°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1C7D |
|---|---|
| RGB | rgb(79, 28, 125) |
| HSL | hsl(272, 63%, 30%) |
| HSV | hsv(272, 78%, 49%) |
| CMYK | cmyk(36.8%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(23.58, 42.31, -45.02) |
| CIE-LCH | lch(23.58, 61.78, 313.22°) |
| OKLab | oklab(36.03% 0.0842 -0.1283) |
| OKLCH | oklch(36.03% 0.153 303.3) |
| XYZ | xyz(7.3405, 3.9734, 19.7783) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.78
Royal Purple (survey)
#4B006E
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 5.68
Rebeccapurple
#663399
ΔE00 7.11
Midnight Blue
#191970
ΔE00 8.78
Indigo Blue
#3A18B1
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1C7D #4A7D1C
analogous
#1E1C7D #4F1C7D #7D1C7B
triadic
#4F1C7D #7D4F1C #1C7D4F
tetradic
#4F1C7D #7D1E1C #4A7D1C #1C7B7D
square
#4F1C7D #7D1E1C #4A7D1C #1C7B7D
split-complementary
#4F1C7D #7B7D1C #1C7D1E
monochromatic
#100619 #2F114B #4F1C7D #6F27AF #8E3FD4
Accessibility & contrast
On white
11.70
#4F1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#4F1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1C7D
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1C7D | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#46344B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #4f1c7d; /* rgb */ color: rgb(79, 28, 125); /* oklch */ color: oklch(36.0% 0.153 303.3);
Tailwind
colors: {
custom: {
50: '#855ea3',
500: '#4f1c7d',
950: '#000000',
},
}SCSS
$custom: #4f1c7d; $custom-light: #855ea3; $custom-dark: #000000;
JSON
{
"hex": "#4f1c7d",
"rgb": {
"r": 79,
"g": 28,
"b": 125
},
"hsl": {
"h": 271.546,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.36028,
"c": 0.15346,
"h": 303.3
},
"luminance": 0.03973
}Semantic roles & 50–950 ramp
primary
#4F1C7D
secondary
#78B144
accent
#E64190
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F