#7F368A color
The hex color #7F368A is a dark, desaturated magenta.
In the RGB color model it is made of 49.8% red, 21.2% green and 54.1% blue (127, 54, 138).
Its hue angle is 292°, with 44% saturation and 38% lightness. For print, the CMYK equivalent is 8% cyan, 61% magenta, 0% yellow and 46% black.
The closest named color is Purple Sultan (#853682), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.51:1).
#7F368A color codes
| HEX | #7F368A | |
|---|---|---|
| RGB | rgb(127, 54, 138) | |
| RGB percent | rgb(49.8%, 21.2%, 54.1%) | |
| HSL | hsl(292, 44%, 38%) | |
| HSV / HSB | hsv(292, 61%, 54%) | |
| CMYK | cmyk(8%, 61%, 0%, 46%) | |
| CIE LAB | lab(35.96, 44.18, -32.89) | |
| CIE LCH | lch(35.96, 55.08, 323.33) | |
| CIE XYZ | xyz(14.659, 8.986, 25.002) | |
| Decimal | 8337034 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F368A, 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 #7F368A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.51:1 | Pass | Pass | Pass |
| #7F368A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.51:1 | Pass | Pass | Pass |
| Sample text | 2.8: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 #7F368A looks to people with the most common types of color vision deficiency.
#264f8dProtanopia
no red cones#405788Deuteranopia
no green cones#81425bTritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #7f368a; }
.text { color: #7f368a; }
.border { border: 2px solid #7f368a; }
.transparent { background-color: rgb(127 54 138 / 50%); }
.gradient { background: linear-gradient(to right, #7f368a, #8a366b); }
Similar colors
#853682Purple Sultan#733c8ePerkin Mauve#802280Hello Darkness My Old Friend#952e8fWarm Purple#6b327bGalactic Grapevine#943589Purple Excellency#81459ePurple Pleasures#864788Prunella
Closest common color name: Dark Magenta.
Questions
- What color is #7F368A?
- #7F368A is a dark, desaturated magenta, closest to the named color Purple Sultan. It belongs to the purple family of colors.
- What is the RGB value of #7F368A?
- The RGB value is 127, 54, 138: 127 red, 54 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #7F368A?
- The complementary color is #418A36, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F368A?
- White text. Black text has a contrast ratio of 2.8:1 and white text 7.51:1. WCAG asks for at least 4.5:1 for normal text.