#972877 color
The hex color #972877 is a dark, moderate magenta.
In the RGB color model it is made of 59.2% red, 15.7% green and 46.7% blue (151, 40, 119).
Its hue angle is 317°, with 58% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 74% magenta, 21% yellow and 41% black.
The closest named color is Haunted Purple (#991177), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.28:1).
#972877 color codes
| HEX | #972877 | |
|---|---|---|
| RGB | rgb(151, 40, 119) | |
| RGB percent | rgb(59.2%, 15.7%, 46.7%) | |
| HSL | hsl(317, 58%, 37%) | |
| HSV / HSB | hsv(317, 74%, 59%) | |
| CMYK | cmyk(0%, 74%, 21%, 41%) | |
| CIE LAB | lab(36.8, 53.3, -19.5) | |
| CIE LCH | lch(36.8, 56.76, 339.9) | |
| CIE XYZ | xyz(16.852, 9.43, 18.382) | |
| Decimal | 9906295 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #972877, 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 #972877 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.89:1 | Fail | Fail | Fail |
| Sample text | 7.28:1 | Pass | Pass | Pass |
| #972877 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.28:1 | Pass | Pass | Pass |
| Sample text | 2.89: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 #972877 looks to people with the most common types of color vision deficiency.
#324b79Protanopia
no red cones#555d74Deuteranopia
no green cones#a02a4cTritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #972877; }
.text { color: #972877; }
.border { border: 2px solid #972877; }
.transparent { background-color: rgb(151 40 119 / 50%); }
.gradient { background: linear-gradient(to right, #972877, #972840); }
Similar colors
#991177Haunted Purple#883377Violet Vixen#990077Persian Luxury Purple#aa1177Fabric of Love#aa0077Katy Berry#991166Romantic Vampire#943589Purple Excellency#871f78Noble Plum
Closest common color name: Plum.
Questions
- What color is #972877?
- #972877 is a dark, moderate magenta, closest to the named color Haunted Purple. It belongs to the purple family of colors.
- What is the RGB value of #972877?
- The RGB value is 151, 40, 119: 151 red, 40 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #972877?
- The complementary color is #289748, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #972877?
- White text. Black text has a contrast ratio of 2.89:1 and white text 7.28:1. WCAG asks for at least 4.5:1 for normal text.