#472040 color
The hex color #472040 is a dark, desaturated magenta.
In the RGB color model it is made of 27.8% red, 12.5% green and 25.1% blue (71, 32, 64).
Its hue angle is 311°, with 38% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 55% magenta, 10% yellow and 72% black.
The closest named color is Purple Void (#442244), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.56:1).
#472040 color codes
| HEX | #472040 | |
|---|---|---|
| RGB | rgb(71, 32, 64) | |
| RGB percent | rgb(27.8%, 12.5%, 25.1%) | |
| HSL | hsl(311, 38%, 20%) | |
| HSV / HSB | hsv(311, 55%, 28%) | |
| CMYK | cmyk(0%, 55%, 10%, 72%) | |
| CIE LAB | lab(18.98, 23.71, -12.09) | |
| CIE LCH | lch(18.98, 26.61, 332.99) | |
| CIE XYZ | xyz(4.04, 2.743, 5.166) | |
| Decimal | 4661312 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #472040, 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 #472040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.56:1 | Pass | Pass | Pass |
| #472040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.56:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #472040 looks to people with the most common types of color vision deficiency.
#202b41Protanopia
no red cones#2b303fDeuteranopia
no green cones#4a222dTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #472040; }
.text { color: #472040; }
.border { border: 2px solid #472040; }
.transparent { background-color: rgb(71 32 64 / 50%); }
.gradient { background: linear-gradient(to right, #472040, #47202d); }
Similar colors
#442244Purple Void#4f284bMurasaki#3b193fCreatures of the Night#391531Nightly Voyager#43182fBlackberry#441144Velvet Cosmos#543254Purple Prose#301934Dark Purple
Questions
- What color is #472040?
- #472040 is a dark, desaturated magenta, closest to the named color Purple Void. It belongs to the purple family of colors.
- What is the RGB value of #472040?
- The RGB value is 71, 32, 64: 71 red, 32 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #472040?
- The complementary color is #204727, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #472040?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.56:1. WCAG asks for at least 4.5:1 for normal text.