#7D1C64 color
The hex color #7D1C64 is a dark, moderate magenta.
In the RGB color model it is made of 49% red, 11% green and 39.2% blue (125, 28, 100).
Its hue angle is 315°, with 63% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 78% magenta, 20% yellow and 51% black.
The closest named color is Bane of Royalty (#871466), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.45:1).
#7D1C64 color codes
| HEX | #7D1C64 | |
|---|---|---|
| RGB | rgb(125, 28, 100) | |
| RGB percent | rgb(49%, 11%, 39.2%) | |
| HSL | hsl(315, 63%, 30%) | |
| HSV / HSB | hsv(315, 78%, 49%) | |
| CMYK | cmyk(0%, 78%, 20%, 51%) | |
| CIE LAB | lab(29.69, 47.98, -18.8) | |
| CIE LCH | lch(29.69, 51.54, 338.61) | |
| CIE XYZ | xyz(11.173, 6.112, 12.645) | |
| Decimal | 8199268 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7D1C64, 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 #7D1C64 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.22:1 | Fail | Fail | Fail |
| Sample text | 9.45:1 | Pass | Pass | Pass |
| #7D1C64 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.45:1 | Pass | Pass | Pass |
| Sample text | 2.22: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 #7D1C64 looks to people with the most common types of color vision deficiency.
#243c66Protanopia
no red cones#434b62Deuteranopia
no green cones#851f3eTritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #7d1c64; }
.text { color: #7d1c64; }
.border { border: 2px solid #7d1c64; }
.transparent { background-color: rgb(125 28 100 / 50%); }
.gradient { background: linear-gradient(to right, #7d1c64, #7d1c33); }
Similar colors
#871466Bane of Royalty#881166Possessed Purple#880066Grapest#702963Byzantium#871f78Noble Plum#881177Royal Purpleness#750851Velvet#6b295aPretty in Prune
Questions
- What color is #7D1C64?
- #7D1C64 is a dark, moderate magenta, closest to the named color Bane of Royalty. It belongs to the purple family of colors.
- What is the RGB value of #7D1C64?
- The RGB value is 125, 28, 100: 125 red, 28 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #7D1C64?
- The complementary color is #1C7D35, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7D1C64?
- White text. Black text has a contrast ratio of 2.22:1 and white text 9.45:1. WCAG asks for at least 4.5:1 for normal text.