#4D1C79#4D1C79
#4D1C79 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.149 H 303.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4D1C79 |
|---|---|
| RGB | rgb(77, 28, 121) |
| HSL | hsl(272, 62%, 29%) |
| HSV | hsv(272, 77%, 47%) |
| CMYK | cmyk(36.4%, 76.9%, 0%, 52.5%) |
| CIE-LAB | lab(22.96, 40.91, -43.50) |
| CIE-LCH | lch(22.96, 59.72, 313.24°) |
| OKLab | oklab(35.42% 0.0821 -0.1239) |
| OKLCH | oklch(35.42% 0.149 303.5) |
| XYZ | xyz(6.9262, 3.7888, 18.4519) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.02
Royal Purple (survey)
#4B006E
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 5.76
Rebeccapurple
#663399
ΔE00 7.61
Midnight Blue
#191970
ΔE00 8.52
Plum Purple
#4E0550
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D1C79 #48791C
analogous
#1F1C79 #4D1C79 #791C77
triadic
#4D1C79 #794D1C #1C794D
tetradic
#4D1C79 #791F1C #48791C #1C7779
square
#4D1C79 #791F1C #48791C #1C7779
split-complementary
#4D1C79 #77791C #1C791F
monochromatic
#100619 #2D1047 #4D1C79 #6D28AB #8C3DD2
Accessibility & contrast
On white
11.95
#4D1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#4D1C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D1C79
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D1C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D1C79 | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#443349
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4d1c79; /* rgb */ color: rgb(77, 28, 121); /* oklch */ color: oklch(35.4% 0.149 303.5);
Tailwind
colors: {
custom: {
50: '#835da0',
500: '#4d1c79',
950: '#000000',
},
}SCSS
$custom: #4d1c79; $custom-light: #835da0; $custom-dark: #000000;
JSON
{
"hex": "#4d1c79",
"rgb": {
"r": 77,
"g": 28,
"b": 121
},
"hsl": {
"h": 271.613,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.35422,
"c": 0.14864,
"h": 303.5
},
"luminance": 0.03789
}Semantic roles & 50–950 ramp
primary
#4D1C79
secondary
#76AD44
accent
#E54290
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E