#812F82 color
The hex color #812F82 is a dark, desaturated magenta.
In the RGB color model it is made of 50.6% red, 18.4% green and 51% blue (129, 47, 130).
Its hue angle is 299°, with 47% saturation and 35% lightness. For print, the CMYK equivalent is 1% cyan, 64% magenta, 0% yellow and 49% black.
The closest named color is Purple Sultan (#853682), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.89:1).
#812F82 color codes
| HEX | #812F82 | |
|---|---|---|
| RGB | rgb(129, 47, 130) | |
| RGB percent | rgb(50.6%, 18.4%, 51%) | |
| HSL | hsl(299, 47%, 35%) | |
| HSV / HSB | hsv(299, 64%, 51%) | |
| CMYK | cmyk(1%, 64%, 0%, 49%) | |
| CIE LAB | lab(34.63, 46.46, -30.03) | |
| CIE LCH | lch(34.63, 55.32, 327.12) | |
| CIE XYZ | xyz(14.099, 8.313, 21.977) | |
| Decimal | 8466306 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #812F82, 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 #812F82 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.66:1 | Fail | Fail | Fail |
| Sample text | 7.89:1 | Pass | Pass | Pass |
| #812F82 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.89:1 | Pass | Pass | Pass |
| Sample text | 2.66: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 #812F82 looks to people with the most common types of color vision deficiency.
#244b84Protanopia
no red cones#425580Deuteranopia
no green cones#853a54Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #812f82; }
.text { color: #812f82; }
.border { border: 2px solid #812f82; }
.transparent { background-color: rgb(129 47 130 / 50%); }
.gradient { background: linear-gradient(to right, #812f82, #822f5a); }
Similar colors
#853682Purple Sultan#802280Hello Darkness My Old Friend#871f78Noble Plum#883377Violet Vixen#952e8fWarm Purple#943589Purple Excellency#881177Royal Purpleness#6b327bGalactic Grapevine
Closest common color name: Dark Magenta.
Questions
- What color is #812F82?
- #812F82 is a dark, desaturated magenta, closest to the named color Purple Sultan. It belongs to the purple family of colors.
- What is the RGB value of #812F82?
- The RGB value is 129, 47, 130: 129 red, 47 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #812F82?
- The complementary color is #30822F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #812F82?
- White text. Black text has a contrast ratio of 2.66:1 and white text 7.89:1. WCAG asks for at least 4.5:1 for normal text.