#7C256A color
The hex color #7C256A is a dark, moderate magenta.
In the RGB color model it is made of 48.6% red, 14.5% green and 41.6% blue (124, 37, 106).
Its hue angle is 312°, with 54% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 70% magenta, 15% yellow and 51% black.
The closest named color is Byzantium (#702963), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.01:1).
#7C256A color codes
| HEX | #7C256A | |
|---|---|---|
| RGB | rgb(124, 37, 106) | |
| RGB percent | rgb(48.6%, 14.5%, 41.6%) | |
| HSL | hsl(312, 54%, 32%) | |
| HSV / HSB | hsv(312, 70%, 49%) | |
| CMYK | cmyk(0%, 70%, 15%, 51%) | |
| CIE LAB | lab(31, 45.27, -20.65) | |
| CIE LCH | lch(31, 49.76, 335.48) | |
| CIE XYZ | xyz(11.575, 6.65, 14.307) | |
| Decimal | 8136042 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C256A, 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 #7C256A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 9.01:1 | Pass | Pass | Pass |
| #7C256A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.01:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #7C256A looks to people with the most common types of color vision deficiency.
#27406cProtanopia
no red cones#444e68Deuteranopia
no green cones#832a44Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #7c256a; }
.text { color: #7c256a; }
.border { border: 2px solid #7c256a; }
.transparent { background-color: rgb(124 37 106 / 50%); }
.gradient { background: linear-gradient(to right, #7c256a, #7c253f); }
Similar colors
#702963Byzantium#871466Bane of Royalty#871f78Noble Plum#881166Possessed Purple#881177Royal Purpleness#880066Grapest#883377Violet Vixen#6b295aPretty in Prune
Questions
- What color is #7C256A?
- #7C256A is a dark, moderate magenta, closest to the named color Byzantium. It belongs to the purple family of colors.
- What is the RGB value of #7C256A?
- The RGB value is 124, 37, 106: 124 red, 37 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #7C256A?
- The complementary color is #257C37, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C256A?
- White text. Black text has a contrast ratio of 2.33:1 and white text 9.01:1. WCAG asks for at least 4.5:1 for normal text.