#502140 color
The hex color #502140 is a dark, desaturated rose.
In the RGB color model it is made of 31.4% red, 12.9% green and 25.1% blue (80, 33, 64).
Its hue angle is 320°, with 42% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 59% magenta, 20% yellow and 69% black.
The closest named color is Murasaki (#4F284B), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.86:1).
#502140 color codes
| HEX | #502140 | |
|---|---|---|
| RGB | rgb(80, 33, 64) | |
| RGB percent | rgb(31.4%, 12.9%, 25.1%) | |
| HSL | hsl(320, 42%, 22%) | |
| HSV / HSB | hsv(320, 59%, 31%) | |
| CMYK | cmyk(0%, 59%, 20%, 69%) | |
| CIE LAB | lab(20.69, 26.39, -9.35) | |
| CIE LCH | lch(20.69, 28, 340.5) | |
| CIE XYZ | xyz(4.778, 3.164, 5.209) | |
| Decimal | 5251392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #502140, 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 #502140 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.86:1 | Pass | Pass | Pass |
| #502140 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.86:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #502140 looks to people with the most common types of color vision deficiency.
#242d41Protanopia
no red cones#31353fDeuteranopia
no green cones#55212dTritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #502140; }
.text { color: #502140; }
.border { border: 2px solid #502140; }
.transparent { background-color: rgb(80 33 64 / 50%); }
.gradient { background: linear-gradient(to right, #502140, #502129); }
Similar colors
#4f284bMurasaki#43182fBlackberry#442244Purple Void#5c1c39Soul Anchor#391531Nightly Voyager#543254Purple Prose#4c022fEvil Empire#3b193fCreatures of the Night
Closest common color name: Tyrian Purple.
Questions
- What color is #502140?
- #502140 is a dark, desaturated rose, closest to the named color Murasaki. It belongs to the purple family of colors.
- What is the RGB value of #502140?
- The RGB value is 80, 33, 64: 80 red, 33 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #502140?
- The complementary color is #215031, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #502140?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.86:1. WCAG asks for at least 4.5:1 for normal text.