#4D1E7D#4D1E7D
#4D1E7D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.151 H 301.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4D1E7D |
|---|---|
| RGB | rgb(77, 30, 125) |
| HSL | hsl(270, 61%, 30%) |
| HSV | hsv(270, 76%, 49%) |
| CMYK | cmyk(38.4%, 76%, 0%, 51%) |
| CIE-LAB | lab(23.63, 41.00, -44.96) |
| CIE-LCH | lch(23.63, 60.85, 312.36°) |
| OKLab | oklab(36% 0.0792 -0.1282) |
| OKLCH | oklch(36% 0.151 301.7) |
| XYZ | xyz(7.2256, 3.9870, 19.7869) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.07
Royal Purple (survey)
#4B006E
ΔE00 4.74
Indigo (survey)
#380282
ΔE00 5.67
Rebeccapurple
#663399
ΔE00 7.07
Midnight Blue
#191970
ΔE00 8.38
Indigo Blue
#3A18B1
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D1E7D #4E7D1E
analogous
#1E1F7D #4D1E7D #7C1E7D
triadic
#4D1E7D #7D4D1E #1E7D4D
tetradic
#4D1E7D #7D1E1F #4E7D1E #1E7D7C
square
#4D1E7D #7D1E1F #4E7D1E #1E7D7C
split-complementary
#4D1E7D #7D7C1E #1F7D1E
monochromatic
#10061A #2F124C #4D1E7D #6B2AAE #8A43D2
Accessibility & contrast
On white
11.68
#4D1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#4D1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D1E7D
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D1E7D | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#43364C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #4d1e7d; /* rgb */ color: rgb(77, 30, 125); /* oklch */ color: oklch(36.0% 0.151 301.7);
Tailwind
colors: {
custom: {
50: '#845fa3',
500: '#4d1e7d',
950: '#000000',
},
}SCSS
$custom: #4d1e7d; $custom-light: #845fa3; $custom-dark: #000000;
JSON
{
"hex": "#4d1e7d",
"rgb": {
"r": 77,
"g": 30,
"b": 125
},
"hsl": {
"h": 269.684,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.35999,
"c": 0.15069,
"h": 301.7
},
"luminance": 0.03987
}Semantic roles & 50–950 ramp
primary
#4D1E7D
secondary
#7CB046
accent
#E44395
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F