#504856 color
The hex color #504856 is a dark, grayish violet.
In the RGB color model it is made of 31.4% red, 28.2% green and 33.7% blue (80, 72, 86).
Its hue angle is 274°, with 9% saturation and 31% lightness. For print, the CMYK equivalent is 7% cyan, 16% magenta, 0% yellow and 66% black.
The closest named color is Black Magic (#4F4554), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.74:1).
#504856 color codes
| HEX | #504856 | |
|---|---|---|
| RGB | rgb(80, 72, 86) | |
| RGB percent | rgb(31.4%, 28.2%, 33.7%) | |
| HSL | hsl(274, 9%, 31%) | |
| HSV / HSB | hsv(274, 16%, 34%) | |
| CMYK | cmyk(7%, 16%, 0%, 66%) | |
| CIE LAB | lab(31.83, 6.4, -7.07) | |
| CIE LCH | lch(31.83, 9.54, 312.17) | |
| CIE XYZ | xyz(7.305, 7.012, 9.771) | |
| Decimal | 5261398 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504856, 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 #504856 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.4:1 | Fail | Fail | Fail |
| Sample text | 8.74:1 | Pass | Pass | Pass |
| #504856 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.74:1 | Pass | Pass | Pass |
| Sample text | 2.4: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 #504856 looks to people with the most common types of color vision deficiency.
#464a57Protanopia
no red cones#484b56Deuteranopia
no green cones#4f4a4dTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #504856; }
.text { color: #504856; }
.border { border: 2px solid #504856; }
.transparent { background-color: rgb(80 72 86 / 50%); }
.gradient { background: linear-gradient(to right, #504856, #564855); }
Similar colors
#4f4554Black Magic#484753Gun Powder#413d4bItalian Grape#565266Freefall#625665Fedora#605258Pinot Noir#525463Black Orchid#483c41Pitch Black
Closest common color name: Eggplant.
Questions
- What color is #504856?
- #504856 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 #504856?
- The RGB value is 80, 72, 86: 80 red, 72 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #504856?
- The complementary color is #4E5648, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504856?
- White text. Black text has a contrast ratio of 2.4:1 and white text 8.74:1. WCAG asks for at least 4.5:1 for normal text.