#4D475B color
The hex color #4D475B is a dark, grayish violet.
In the RGB color model it is made of 30.2% red, 27.8% green and 35.7% blue (77, 71, 91).
Its hue angle is 258°, with 12% saturation and 32% lightness. For print, the CMYK equivalent is 15% cyan, 22% magenta, 0% yellow and 64% black.
The closest named color is Black Magic (#4F4554), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.87:1).
#4D475B color codes
| HEX | #4D475B | |
|---|---|---|
| RGB | rgb(77, 71, 91) | |
| RGB percent | rgb(30.2%, 27.8%, 35.7%) | |
| HSL | hsl(258, 12%, 32%) | |
| HSV / HSB | hsv(258, 22%, 36%) | |
| CMYK | cmyk(15%, 22%, 0%, 64%) | |
| CIE LAB | lab(31.44, 7.1, -10.89) | |
| CIE LCH | lch(31.44, 13, 303.1) | |
| CIE XYZ | xyz(7.202, 6.84, 10.836) | |
| Decimal | 5064539 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D475B, 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 #4D475B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.37:1 | Fail | Fail | Fail |
| Sample text | 8.87:1 | Pass | Pass | Pass |
| #4D475B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.87:1 | Pass | Pass | Pass |
| Sample text | 2.37: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 #4D475B looks to people with the most common types of color vision deficiency.
#434a5cProtanopia
no red cones#444a5aDeuteranopia
no green cones#4b4a4eTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #4d475b; }
.text { color: #4d475b; }
.border { border: 2px solid #4d475b; }
.transparent { background-color: rgb(77 71 91 / 50%); }
.gradient { background: linear-gradient(to right, #4d475b, #57475b); }
Similar colors
#4f4554Black Magic#565266Freefall#413d4bItalian Grape#484753Gun Powder#544563Nightly Walk#4d516cIntergalactic#555570Majestic Magic#42364cCall It a Night
Closest common color name: Eggplant.
Questions
- What color is #4D475B?
- #4D475B is a dark, grayish violet, closest to the named color Black Magic. It belongs to the purple family of colors.
- What is the RGB value of #4D475B?
- The RGB value is 77, 71, 91: 77 red, 71 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #4D475B?
- The complementary color is #555B47, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D475B?
- White text. Black text has a contrast ratio of 2.37:1 and white text 8.87:1. WCAG asks for at least 4.5:1 for normal text.