#4D4859 color
The hex color #4D4859 is a dark, grayish violet.
In the RGB color model it is made of 30.2% red, 28.2% green and 34.9% blue (77, 72, 89).
Its hue angle is 258°, with 11% saturation and 32% lightness. For print, the CMYK equivalent is 13% cyan, 19% magenta, 0% yellow and 65% black.
The closest named color is Black Magic (#4F4554), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.8:1).
#4D4859 color codes
| HEX | #4D4859 | |
|---|---|---|
| RGB | rgb(77, 72, 89) | |
| RGB percent | rgb(30.2%, 28.2%, 34.9%) | |
| HSL | hsl(258, 11%, 32%) | |
| HSV / HSB | hsv(258, 19%, 35%) | |
| CMYK | cmyk(13%, 19%, 0%, 65%) | |
| CIE LAB | lab(31.66, 5.96, -9.29) | |
| CIE LCH | lch(31.66, 11.03, 302.69) | |
| CIE XYZ | xyz(7.181, 6.934, 10.409) | |
| Decimal | 5064793 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4D4859, 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 #4D4859 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.8:1 | Pass | Pass | Pass |
| #4D4859 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.8: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 #4D4859 looks to people with the most common types of color vision deficiency.
#454a5aProtanopia
no red cones#454a58Deuteranopia
no green cones#4b4a4eTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #4d4859; }
.text { color: #4d4859; }
.border { border: 2px solid #4d4859; }
.transparent { background-color: rgb(77 72 89 / 50%); }
.gradient { background: linear-gradient(to right, #4d4859, #564859); }
Similar colors
#4f4554Black Magic#484753Gun Powder#565266Freefall#413d4bItalian Grape#3f4250Madonna#525463Black Orchid#41434eMidnight Serenade#4d516cIntergalactic
Closest common color name: Eggplant.
Questions
- What color is #4D4859?
- #4D4859 is a dark, grayish violet, closest to the named color Black Magic. It belongs to the gray family of colors.
- What is the RGB value of #4D4859?
- The RGB value is 77, 72, 89: 77 red, 72 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #4D4859?
- The complementary color is #545948, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4D4859?
- White text. Black text has a contrast ratio of 2.39:1 and white text 8.8:1. WCAG asks for at least 4.5:1 for normal text.