#9C5791 color
The hex color #9C5791 is a desaturated magenta.
In the RGB color model it is made of 61.2% red, 34.1% green and 56.9% blue (156, 87, 145).
Its hue angle is 310°, with 28% saturation and 48% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 7% yellow and 39% black.
The closest named color is Bermuda Onion (#9D5A8F), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.02:1).
#9C5791 color codes
| HEX | #9C5791 | |
|---|---|---|
| RGB | rgb(156, 87, 145) | |
| RGB percent | rgb(61.2%, 34.1%, 56.9%) | |
| HSL | hsl(310, 28%, 48%) | |
| HSV / HSB | hsv(310, 44%, 61%) | |
| CMYK | cmyk(0%, 44%, 7%, 39%) | |
| CIE LAB | lab(46.88, 37.01, -19.8) | |
| CIE LCH | lch(46.88, 41.97, 331.86) | |
| CIE XYZ | xyz(22.229, 15.93, 28.686) | |
| Decimal | 10246033 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9C5791, 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 #9C5791 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.19:1 | Fail | Fail | Pass |
| Sample text | 5.02:1 | Pass | Fail | Pass |
| #9C5791 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.02:1 | Pass | Fail | Pass |
| Sample text | 4.19:1 | Fail | Fail | Pass |
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 #9C5791 looks to people with the most common types of color vision deficiency.
#566993Protanopia
no red cones#68738fDeuteranopia
no green cones#a25b6dTritanopia
no blue cones#6f6f6fAchromatopsia
no color vision
CSS examples
.background { background-color: #9c5791; }
.text { color: #9c5791; }
.border { border: 2px solid #9c5791; }
.transparent { background-color: rgb(156 87 145 / 50%); }
.gradient { background: linear-gradient(to right, #9c5791, #9c576e); }
Similar colors
#9d5a8fBermuda Onion#a15589Purple Zergling#905284Grape Candy#9d5783Feminism#9b4b80Plum Passion#9b4682Grape Riot#b4559bMagenta Memoir#8e4585Plum
Questions
- What color is #9C5791?
- #9C5791 is a desaturated magenta, closest to the named color Bermuda Onion. It belongs to the purple family of colors.
- What is the RGB value of #9C5791?
- The RGB value is 156, 87, 145: 156 red, 87 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #9C5791?
- The complementary color is #579C62, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9C5791?
- White text. Black text has a contrast ratio of 4.19:1 and white text 5.02:1. WCAG asks for at least 4.5:1 for normal text.