#4E4857 color
The hex color #4E4857 is a dark, grayish violet.
In the RGB color model it is made of 30.6% red, 28.2% green and 34.1% blue (78, 72, 87).
Its hue angle is 264°, with 9% saturation and 31% lightness. For print, the CMYK equivalent is 10% cyan, 17% magenta, 0% yellow and 66% black.
The closest named color is Black Magic (#4F4554), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.79:1).
#4E4857 color codes
| HEX | #4E4857 | |
|---|---|---|
| RGB | rgb(78, 72, 87) | |
| RGB percent | rgb(30.6%, 28.2%, 34.1%) | |
| HSL | hsl(264, 9%, 31%) | |
| HSV / HSB | hsv(264, 17%, 34%) | |
| CMYK | cmyk(10%, 17%, 0%, 66%) | |
| CIE LAB | lab(31.68, 5.86, -7.97) | |
| CIE LCH | lch(31.68, 9.89, 306.33) | |
| CIE XYZ | xyz(7.179, 6.943, 9.977) | |
| Decimal | 5130327 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #4E4857, 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 #4E4857 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.79:1 | Pass | Pass | Pass |
| #4E4857 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.79: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 #4E4857 looks to people with the most common types of color vision deficiency.
#454a58Protanopia
no red cones#464b57Deuteranopia
no green cones#4d4a4dTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #4e4857; }
.text { color: #4e4857; }
.border { border: 2px solid #4e4857; }
.transparent { background-color: rgb(78 72 87 / 50%); }
.gradient { background: linear-gradient(to right, #4e4857, #564857); }
Similar colors
#4f4554Black Magic#484753Gun Powder#413d4bItalian Grape#565266Freefall#3f4250Madonna#525463Black Orchid#41434eMidnight Serenade#625665Fedora
Closest common color name: Eggplant.
Questions
- What color is #4E4857?
- #4E4857 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 #4E4857?
- The RGB value is 78, 72, 87: 78 red, 72 green and 87 blue on a 0 to 255 scale.
- What is the complementary color of #4E4857?
- The complementary color is #515748, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #4E4857?
- White text. Black text has a contrast ratio of 2.39:1 and white text 8.79:1. WCAG asks for at least 4.5:1 for normal text.