#792170 color
The hex color #792170 is a dark, moderate magenta.
In the RGB color model it is made of 47.5% red, 12.9% green and 43.9% blue (121, 33, 112).
Its hue angle is 306°, with 57% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 73% magenta, 7% yellow and 53% black.
The closest named color is Noble Plum (#871F78), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.27:1).
#792170 color codes
| HEX | #792170 | |
|---|---|---|
| RGB | rgb(121, 33, 112) | |
| RGB percent | rgb(47.5%, 12.9%, 43.9%) | |
| HSL | hsl(306, 57%, 30%) | |
| HSV / HSB | hsv(306, 73%, 47%) | |
| CMYK | cmyk(0%, 73%, 7%, 53%) | |
| CIE LAB | lab(30.21, 47.05, -25.75) | |
| CIE LCH | lch(30.21, 53.63, 331.31) | |
| CIE XYZ | xyz(11.354, 6.323, 15.949) | |
| Decimal | 7938416 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #792170, 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 #792170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.27:1 | Pass | Pass | Pass |
| #792170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.27:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #792170 looks to people with the most common types of color vision deficiency.
#1c3f72Protanopia
no red cones#3d4c6eDeuteranopia
no green cones#7e2a46Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #792170; }
.text { color: #792170; }
.border { border: 2px solid #792170; }
.transparent { background-color: rgb(121 33 112 / 50%); }
.gradient { background: linear-gradient(to right, #792170, #792144); }
Similar colors
#871f78Noble Plum#881177Royal Purpleness#802280Hello Darkness My Old Friend#702963Byzantium#800080Purple#871466Bane of Royalty#881166Possessed Purple#880066Grapest
Questions
- What color is #792170?
- #792170 is a dark, moderate magenta, closest to the named color Noble Plum. It belongs to the purple family of colors.
- What is the RGB value of #792170?
- The RGB value is 121, 33, 112: 121 red, 33 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #792170?
- The complementary color is #21792A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #792170?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.27:1. WCAG asks for at least 4.5:1 for normal text.