#7F3B71 color
The hex color #7F3B71 is a dark, desaturated magenta.
In the RGB color model it is made of 49.8% red, 23.1% green and 44.3% blue (127, 59, 113).
Its hue angle is 312°, with 37% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 54% magenta, 11% yellow and 50% black.
The closest named color is Bruise (#7E4071), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.59:1).
#7F3B71 color codes
| HEX | #7F3B71 | |
|---|---|---|
| RGB | rgb(127, 59, 113) | |
| RGB percent | rgb(49.8%, 23.1%, 44.3%) | |
| HSL | hsl(312, 37%, 36%) | |
| HSV / HSB | hsv(312, 54%, 50%) | |
| CMYK | cmyk(0%, 54%, 11%, 50%) | |
| CIE LAB | lab(35.66, 36.89, -17.82) | |
| CIE LCH | lch(35.66, 40.97, 334.21) | |
| CIE XYZ | xyz(13.297, 8.833, 16.624) | |
| Decimal | 8338289 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F3B71, 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 #7F3B71 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.77:1 | Fail | Fail | Fail |
| Sample text | 7.59:1 | Pass | Pass | Pass |
| #7F3B71 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.59:1 | Pass | Pass | Pass |
| Sample text | 2.77: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 #7F3B71 looks to people with the most common types of color vision deficiency.
#3c4d73Protanopia
no red cones#4f586fDeuteranopia
no green cones#853e51Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #7f3b71; }
.text { color: #7f3b71; }
.border { border: 2px solid #7f3b71; }
.transparent { background-color: rgb(127 59 113 / 50%); }
.gradient { background: linear-gradient(to right, #7f3b71, #7f3b4f); }
Similar colors
#7e4071Bruise#883377Violet Vixen#7f4774Magic Magenta#853c69Midnight Aubergine#784674Purple Passion#82476fGrape Kiss#853682Purple Sultan#784467Magician’s Cloak
Closest common color name: Plum.
Questions
- What color is #7F3B71?
- #7F3B71 is a dark, desaturated magenta, closest to the named color Bruise. It belongs to the purple family of colors.
- What is the RGB value of #7F3B71?
- The RGB value is 127, 59, 113: 127 red, 59 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #7F3B71?
- The complementary color is #3B7F49, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F3B71?
- White text. Black text has a contrast ratio of 2.77:1 and white text 7.59:1. WCAG asks for at least 4.5:1 for normal text.