#502748 color
The hex color #502748 is a dark, desaturated magenta.
In the RGB color model it is made of 31.4% red, 15.3% green and 28.2% blue (80, 39, 72).
Its hue angle is 312°, with 34% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 51% magenta, 10% yellow and 69% black.
The closest named color is Murasaki (#4F284B), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.17:1).
#502748 color codes
| HEX | #502748 | |
|---|---|---|
| RGB | rgb(80, 39, 72) | |
| RGB percent | rgb(31.4%, 15.3%, 28.2%) | |
| HSL | hsl(312, 34%, 23%) | |
| HSV / HSB | hsv(312, 51%, 31%) | |
| CMYK | cmyk(0%, 51%, 10%, 69%) | |
| CIE LAB | lab(22.39, 24.38, -12.2) | |
| CIE LCH | lch(22.39, 27.26, 333.42) | |
| CIE XYZ | xyz(5.203, 3.625, 6.555) | |
| Decimal | 5252936 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #502748, 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 #502748 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.17:1 | Pass | Pass | Pass |
| #502748 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.17:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #502748 looks to people with the most common types of color vision deficiency.
#273249Protanopia
no red cones#323847Deuteranopia
no green cones#542934Tritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #502748; }
.text { color: #502748; }
.border { border: 2px solid #502748; }
.transparent { background-color: rgb(80 39 72 / 50%); }
.gradient { background: linear-gradient(to right, #502748, #502733); }
Similar colors
#4f284bMurasaki#442244Purple Void#543254Purple Prose#4e334eShadow Purple#5b365eLong Passionate Night#3b193fCreatures of the Night#43182fBlackberry#391531Nightly Voyager
Closest common color name: Dark Purple.
Questions
- What color is #502748?
- #502748 is a dark, desaturated magenta, closest to the named color Murasaki. It belongs to the purple family of colors.
- What is the RGB value of #502748?
- The RGB value is 80, 39, 72: 80 red, 39 green and 72 blue on a 0 to 255 scale.
- What is the complementary color of #502748?
- The complementary color is #27502F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #502748?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.17:1. WCAG asks for at least 4.5:1 for normal text.