#7C2E7E color
The hex color #7C2E7E is a dark, desaturated magenta.
In the RGB color model it is made of 48.6% red, 18% green and 49.4% blue (124, 46, 126).
Its hue angle is 299°, with 47% saturation and 34% lightness. For print, the CMYK equivalent is 2% cyan, 63% magenta, 0% yellow and 51% black.
The closest named color is Hello Darkness My Old Friend (#802280), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.24:1).
#7C2E7E color codes
| HEX | #7C2E7E | |
|---|---|---|
| RGB | rgb(124, 46, 126) | |
| RGB percent | rgb(48.6%, 18%, 49.4%) | |
| HSL | hsl(299, 47%, 34%) | |
| HSV / HSB | hsv(299, 63%, 49%) | |
| CMYK | cmyk(2%, 63%, 0%, 51%) | |
| CIE LAB | lab(33.45, 44.84, -29.45) | |
| CIE LCH | lch(33.45, 53.64, 326.7) | |
| CIE XYZ | xyz(13.055, 7.746, 20.542) | |
| Decimal | 8138366 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C2E7E, 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 #7C2E7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.55:1 | Fail | Fail | Fail |
| Sample text | 8.24:1 | Pass | Pass | Pass |
| #7C2E7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.24:1 | Pass | Pass | Pass |
| Sample text | 2.55: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 #7C2E7E looks to people with the most common types of color vision deficiency.
#234880Protanopia
no red cones#3f527cDeuteranopia
no green cones#7f3951Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #7c2e7e; }
.text { color: #7c2e7e; }
.border { border: 2px solid #7c2e7e; }
.transparent { background-color: rgb(124 46 126 / 50%); }
.gradient { background: linear-gradient(to right, #7c2e7e, #7e2e58); }
Similar colors
#802280Hello Darkness My Old Friend#853682Purple Sultan#871f78Noble Plum#6b327bGalactic Grapevine#6e3974Eminence#883377Violet Vixen#881177Royal Purpleness#952e8fWarm Purple
Closest common color name: Purple.
Questions
- What color is #7C2E7E?
- #7C2E7E 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 #7C2E7E?
- The RGB value is 124, 46, 126: 124 red, 46 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #7C2E7E?
- The complementary color is #307E2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C2E7E?
- White text. Black text has a contrast ratio of 2.55:1 and white text 8.24:1. WCAG asks for at least 4.5:1 for normal text.