#4F1D7C#4F1D7C
#4F1D7C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.151 H 303.5°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1D7C |
|---|---|
| RGB | rgb(79, 29, 124) |
| HSL | hsl(272, 62%, 30%) |
| HSV | hsv(272, 77%, 49%) |
| CMYK | cmyk(36.3%, 76.6%, 0%, 51.4%) |
| CIE-LAB | lab(23.66, 41.60, -44.26) |
| CIE-LCH | lch(23.66, 60.75, 313.23°) |
| OKLab | oklab(36.06% 0.0834 -0.1261) |
| OKLCH | oklch(36.06% 0.151 303.5) |
| XYZ | xyz(7.3011, 3.9962, 19.4516) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.03
Royal Purple (survey)
#4B006E
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.89
Rebeccapurple
#663399
ΔE00 7.08
Midnight Blue
#191970
ΔE00 8.81
Indigo Blue
#3A18B1
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1D7C #4A7C1D
analogous
#1F1D7C #4F1D7C #7C1D7A
triadic
#4F1D7C #7C4F1D #1D7C4F
tetradic
#4F1D7C #7C1F1D #4A7C1D #1D7A7C
square
#4F1D7C #7C1F1D #4A7C1D #1D7A7C
split-complementary
#4F1D7C #7A7C1D #1D7C1F
monochromatic
#100619 #2F114A #4F1D7C #6F29AE #8E41D3
Accessibility & contrast
On white
11.67
#4F1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#4F1D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1D7C
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1D7C | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#46354B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #4f1d7c; /* rgb */ color: rgb(79, 29, 124); /* oklch */ color: oklch(36.1% 0.151 303.5);
Tailwind
colors: {
custom: {
50: '#855ea3',
500: '#4f1d7c',
950: '#000000',
},
}SCSS
$custom: #4f1d7c; $custom-light: #855ea3; $custom-dark: #000000;
JSON
{
"hex": "#4f1d7c",
"rgb": {
"r": 79,
"g": 29,
"b": 124
},
"hsl": {
"h": 271.579,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.36055,
"c": 0.1512,
"h": 303.5
},
"luminance": 0.03996
}Semantic roles & 50–950 ramp
primary
#4F1D7C
secondary
#78B045
accent
#E54390
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F