#792F8B color
The hex color #792F8B is a dark, desaturated magenta.
In the RGB color model it is made of 47.5% red, 18.4% green and 54.5% blue (121, 47, 139).
Its hue angle is 288°, with 49% saturation and 36% lightness. For print, the CMYK equivalent is 13% cyan, 66% magenta, 0% yellow and 45% black.
The closest named color is Perkin Mauve (#733C8E), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.1:1).
#792F8B color codes
| HEX | #792F8B | |
|---|---|---|
| RGB | rgb(121, 47, 139) | |
| RGB percent | rgb(47.5%, 18.4%, 54.5%) | |
| HSL | hsl(288, 49%, 36%) | |
| HSV / HSB | hsv(288, 66%, 55%) | |
| CMYK | cmyk(13%, 66%, 0%, 45%) | |
| CIE LAB | lab(33.91, 46.16, -36.82) | |
| CIE LCH | lch(33.91, 59.05, 321.42) | |
| CIE XYZ | xyz(13.561, 7.963, 25.244) | |
| Decimal | 7942027 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #792F8B, 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 #792F8B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.1:1 | Pass | Pass | Pass |
| #792F8B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.1:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #792F8B looks to people with the most common types of color vision deficiency.
#124b8eProtanopia
no red cones#355289Deuteranopia
no green cones#793f59Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #792f8b; }
.text { color: #792f8b; }
.border { border: 2px solid #792f8b; }
.transparent { background-color: rgb(121 47 139 / 50%); }
.gradient { background: linear-gradient(to right, #792f8b, #8b2f6f); }
Similar colors
#733c8ePerkin Mauve#802280Hello Darkness My Old Friend#6b327bGalactic Grapevine#772299Orb of Discord#853682Purple Sultan#662288Sapphire Siren#8b008bDark Magenta#632f92Lucid Dreams
Questions
- What color is #792F8B?
- #792F8B is a dark, desaturated magenta, closest to the named color Perkin Mauve. It belongs to the purple family of colors.
- What is the RGB value of #792F8B?
- The RGB value is 121, 47, 139: 121 red, 47 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #792F8B?
- The complementary color is #418B2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #792F8B?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.1:1. WCAG asks for at least 4.5:1 for normal text.