#7F4A7A color
The hex color #7F4A7A is a desaturated magenta.
In the RGB color model it is made of 49.8% red, 29% green and 47.8% blue (127, 74, 122).
Its hue angle is 306°, with 26% saturation and 39% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 4% yellow and 50% black.
The closest named color is Magic Magenta (#7F4774), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.64:1).
#7F4A7A color codes
| HEX | #7F4A7A | |
|---|---|---|
| RGB | rgb(127, 74, 122) | |
| RGB percent | rgb(49.8%, 29%, 47.8%) | |
| HSL | hsl(306, 26%, 39%) | |
| HSV / HSB | hsv(306, 42%, 50%) | |
| CMYK | cmyk(0%, 42%, 4%, 50%) | |
| CIE LAB | lab(39.27, 30.25, -17.87) | |
| CIE LCH | lch(39.27, 35.13, 329.43) | |
| CIE XYZ | xyz(14.714, 10.815, 19.721) | |
| Decimal | 8342138 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F4A7A, 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 #7F4A7A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.16:1 | Fail | Fail | Pass |
| Sample text | 6.64:1 | Pass | Fail | Pass |
| #7F4A7A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.64:1 | Pass | Fail | Pass |
| Sample text | 3.16:1 | Fail | Fail | Pass |
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 #7F4A7A looks to people with the most common types of color vision deficiency.
#48587cProtanopia
no red cones#565f78Deuteranopia
no green cones#834e5cTritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #7f4a7a; }
.text { color: #7f4a7a; }
.border { border: 2px solid #7f4a7a; }
.transparent { background-color: rgb(127 74 122 / 50%); }
.gradient { background: linear-gradient(to right, #7f4a7a, #7f4a60); }
Similar colors
#7f4774Magic Magenta#784674Purple Passion#7e4071Bruise#82476fGrape Kiss#864788Prunella#8e4585Plum#905284Grape Candy#784467Magician’s Cloak
Questions
- What color is #7F4A7A?
- #7F4A7A is a desaturated magenta, closest to the named color Magic Magenta. It belongs to the purple family of colors.
- What is the RGB value of #7F4A7A?
- The RGB value is 127, 74, 122: 127 red, 74 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #7F4A7A?
- The complementary color is #4A7F4F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F4A7A?
- White text. Black text has a contrast ratio of 3.16:1 and white text 6.64:1. WCAG asks for at least 4.5:1 for normal text.