#812D78 color
The hex color #812D78 is a dark, desaturated magenta.
In the RGB color model it is made of 50.6% red, 17.6% green and 47.1% blue (129, 45, 120).
Its hue angle is 306°, with 48% saturation and 34% lightness. For print, the CMYK equivalent is 0% cyan, 65% magenta, 7% yellow and 49% black.
The closest named color is Noble Plum (#871F78), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.14:1).
#812D78 color codes
| HEX | #812D78 | |
|---|---|---|
| RGB | rgb(129, 45, 120) | |
| RGB percent | rgb(50.6%, 17.6%, 47.1%) | |
| HSL | hsl(306, 48%, 34%) | |
| HSV / HSB | hsv(306, 65%, 51%) | |
| CMYK | cmyk(0%, 65%, 7%, 49%) | |
| CIE LAB | lab(33.78, 45.56, -25.12) | |
| CIE LCH | lch(33.78, 52.03, 331.13) | |
| CIE XYZ | xyz(13.382, 7.901, 18.586) | |
| Decimal | 8465784 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #812D78, 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 #812D78 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.58:1 | Fail | Fail | Fail |
| Sample text | 8.14:1 | Pass | Pass | Pass |
| #812D78 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.14:1 | Pass | Pass | Pass |
| Sample text | 2.58: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 #812D78 looks to people with the most common types of color vision deficiency.
#29487aProtanopia
no red cones#465476Deuteranopia
no green cones#86344eTritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #812d78; }
.text { color: #812d78; }
.border { border: 2px solid #812d78; }
.transparent { background-color: rgb(129 45 120 / 50%); }
.gradient { background: linear-gradient(to right, #812d78, #812d4e); }
Similar colors
#871f78Noble Plum#883377Violet Vixen#853682Purple Sultan#802280Hello Darkness My Old Friend#881177Royal Purpleness#943589Purple Excellency#702963Byzantium#6e3974Eminence
Questions
- What color is #812D78?
- #812D78 is a dark, desaturated magenta, closest to the named color Noble Plum. It belongs to the purple family of colors.
- What is the RGB value of #812D78?
- The RGB value is 129, 45, 120: 129 red, 45 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #812D78?
- The complementary color is #2D8136, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #812D78?
- White text. Black text has a contrast ratio of 2.58:1 and white text 8.14:1. WCAG asks for at least 4.5:1 for normal text.