#4D4762 color
The hex color #4D4762 is a dark, grayish violet.
In the RGB color model it is made of 30.2% red, 27.8% green and 38.4% blue (77, 71, 98).
Its hue angle is 253°, with 16% saturation and 33% lightness. For print, the CMYK equivalent is 21% cyan, 28% magenta, 0% yellow and 62% black.
The closest named color is Nightly Walk (#544563), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.77:1).
#4D4762 color codes
| HEX | #4D4762 | |
|---|---|---|
| RGB | rgb(77, 71, 98) | |
| RGB percent | rgb(30.2%, 27.8%, 38.4%) | |
| HSL | hsl(253, 16%, 33%) | |
| HSV / HSB | hsv(253, 28%, 38%) | |
| CMYK | cmyk(21%, 28%, 0%, 62%) | |
| CIE LAB | lab(31.73, 8.9, -14.91) | |
| CIE LCH | lch(31.73, 17.37, 300.82) | |
| CIE XYZ | xyz(7.518, 6.966, 12.501) | |
| Decimal | 5064546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4762, 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 #4D4762 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.77:1 | Pass | Pass | Pass |
| #4D4762 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.77:1 | Pass | Pass | Pass |
| Sample text | 2.39: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 #4D4762 looks to people with the most common types of color vision deficiency.
#414b63Protanopia
no red cones#414a61Deuteranopia
no green cones#494b50Tritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #4d4762; }
.text { color: #4d4762; }
.border { border: 2px solid #4d4762; }
.transparent { background-color: rgb(77 71 98 / 50%); }
.gradient { background: linear-gradient(to right, #4d4762, #5b4762); }
Similar colors
#544563Nightly Walk#565266Freefall#3e4364Genie#4d516cIntergalactic#555570Majestic Magic#4f4554Black Magic#57446aHaunted Candelabra#3d3d63Storm Is Coming
Closest common color name: Eggplant.
Questions
- What color is #4D4762?
- #4D4762 is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the blue family of colors.
- What is the RGB value of #4D4762?
- The RGB value is 77, 71, 98: 77 red, 71 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #4D4762?
- The complementary color is #5C6247, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4762?
- White text. Black text has a contrast ratio of 2.39:1 and white text 8.77:1. WCAG asks for at least 4.5:1 for normal text.