#782D79 color
The hex color #782D79 is a dark, desaturated magenta.
In the RGB color model it is made of 47.1% red, 17.6% green and 47.5% blue (120, 45, 121).
Its hue angle is 299°, with 46% saturation and 33% lightness. For print, the CMYK equivalent is 1% cyan, 63% magenta, 0% yellow and 53% black.
The closest named color is Hello Darkness My Old Friend (#802280), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.57:1).
#782D79 color codes
| HEX | #782D79 | |
|---|---|---|
| RGB | rgb(120, 45, 121) | |
| RGB percent | rgb(47.1%, 17.6%, 47.5%) | |
| HSL | hsl(299, 46%, 33%) | |
| HSV / HSB | hsv(299, 63%, 47%) | |
| CMYK | cmyk(1%, 63%, 0%, 53%) | |
| CIE LAB | lab(32.37, 43.27, -28.06) | |
| CIE LCH | lch(32.37, 51.57, 327.04) | |
| CIE XYZ | xyz(12.135, 7.251, 18.846) | |
| Decimal | 7875961 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #782D79, 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 #782D79 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.57:1 | Pass | Pass | Pass |
| #782D79 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.57:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #782D79 looks to people with the most common types of color vision deficiency.
#23467bProtanopia
no red cones#3e5077Deuteranopia
no green cones#7b374eTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #782d79; }
.text { color: #782d79; }
.border { border: 2px solid #782d79; }
.transparent { background-color: rgb(120 45 121 / 50%); }
.gradient { background: linear-gradient(to right, #782d79, #792d54); }
Similar colors
#802280Hello Darkness My Old Friend#6b327bGalactic Grapevine#853682Purple Sultan#871f78Noble Plum#6e3974Eminence#883377Violet Vixen#881177Royal Purpleness#702963Byzantium
Questions
- What color is #782D79?
- #782D79 is a dark, desaturated magenta, closest to the named color Hello Darkness My Old Friend. It belongs to the purple family of colors.
- What is the RGB value of #782D79?
- The RGB value is 120, 45, 121: 120 red, 45 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #782D79?
- The complementary color is #2E792D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #782D79?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.57:1. WCAG asks for at least 4.5:1 for normal text.