#4D317D color
The hex color #4D317D is a dark, desaturated violet.
In the RGB color model it is made of 30.2% red, 19.2% green and 49% blue (77, 49, 125).
Its hue angle is 262°, with 44% saturation and 34% lightness. For print, the CMYK equivalent is 38% cyan, 61% magenta, 0% yellow and 51% black.
The closest named color is Galactic Compass (#48357B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.24:1).
#4D317D color codes
| HEX | #4D317D | |
|---|---|---|
| RGB | rgb(77, 49, 125) | |
| RGB percent | rgb(30.2%, 19.2%, 49%) | |
| HSL | hsl(262, 44%, 34%) | |
| HSV / HSB | hsv(262, 61%, 49%) | |
| CMYK | cmyk(38%, 61%, 0%, 51%) | |
| CIE LAB | lab(27.45, 30.55, -38.77) | |
| CIE LCH | lch(27.45, 49.36, 308.24) | |
| CIE XYZ | xyz(7.86, 5.255, 19.998) | |
| Decimal | 5058941 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D317D, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #4D317D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.24:1 | Pass | Pass | Pass |
| #4D317D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.24:1 | Pass | Pass | Pass |
| Sample text | 2.05:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #4D317D looks to people with the most common types of color vision deficiency.
#05417fProtanopia
no red cones#14407bDeuteranopia
no green cones#424152Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #4d317d; }
.text { color: #4d317d; }
.border { border: 2px solid #4d317d; }
.transparent { background-color: rgb(77 49 125 / 50%); }
.gradient { background: linear-gradient(to right, #4d317d, #73317d); }
Similar colors
#48357bGalactic Compass#4b2c74Mystic Nights#583580Kingfisher Daisy#432e6fHer Highness#572e89Night Fever#443388Majestic Eggplant#5c2e88Purple Patch#522a6fPurple Seduction
Closest common color name: Dark Slate Blue.
Questions
- What color is #4D317D?
- #4D317D is a dark, desaturated violet, closest to the named color Galactic Compass. It belongs to the purple family of colors.
- What is the RGB value of #4D317D?
- The RGB value is 77, 49, 125: 77 red, 49 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #4D317D?
- The complementary color is #617D31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D317D?
- White text. Black text has a contrast ratio of 2.05:1 and white text 10.24:1. WCAG asks for at least 4.5:1 for normal text.