#47157F color
The hex color #47157F is a dark, moderate violet.
In the RGB color model it is made of 27.8% red, 8.2% green and 49.8% blue (71, 21, 127).
Its hue angle is 268°, with 72% saturation and 29% lightness. For print, the CMYK equivalent is 44% cyan, 83% magenta, 0% yellow and 50% black.
The closest named color is Occult (#4B1E87), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.49:1).
#47157F color codes
| HEX | #47157F | |
|---|---|---|
| RGB | rgb(71, 21, 127) | |
| RGB percent | rgb(27.8%, 8.2%, 49.8%) | |
| HSL | hsl(268, 72%, 29%) | |
| HSV / HSB | hsv(268, 83%, 50%) | |
| CMYK | cmyk(44%, 83%, 0%, 50%) | |
| CIE LAB | lab(21.61, 44.4, -49.56) | |
| CIE LCH | lch(21.61, 66.54, 311.86) | |
| CIE XYZ | xyz(6.696, 3.408, 20.38) | |
| Decimal | 4658559 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #47157F, 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 #47157F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.49:1 | Pass | Pass | Pass |
| #47157F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.49:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #47157F looks to people with the most common types of color vision deficiency.
#003482Protanopia
no red cones#00337dDeuteranopia
no green cones#39334bTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #47157f; }
.text { color: #47157f; }
.border { border: 2px solid #47157f; }
.transparent { background-color: rgb(71 21 127 / 50%); }
.gradient { background: linear-gradient(to right, #47157f, #7c157f); }
Similar colors
#4b1e87Occult#4b0183Indigo Static#4b0082Indigo#442288Galactic Civilization#3a1f76Explorer of the Galaxies#5b1e8bIntergalactic Settlement#301885Indiglow#330077Galactic Federation
Questions
- What color is #47157F?
- #47157F is a dark, moderate violet, closest to the named color Occult. It belongs to the purple family of colors.
- What is the RGB value of #47157F?
- The RGB value is 71, 21, 127: 71 red, 21 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #47157F?
- The complementary color is #4D7F15, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #47157F?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.49:1. WCAG asks for at least 4.5:1 for normal text.