#51394E color
The hex color #51394E is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 22.4% green and 30.6% blue (81, 57, 78).
Its hue angle is 308°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 4% yellow and 68% black.
The closest named color is Shadow Purple (#4E334E), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.27:1).
#51394E color codes
| HEX | #51394E | |
|---|---|---|
| RGB | rgb(81, 57, 78) | |
| RGB percent | rgb(31.8%, 22.4%, 30.6%) | |
| HSL | hsl(308, 17%, 27%) | |
| HSV / HSB | hsv(308, 30%, 32%) | |
| CMYK | cmyk(0%, 30%, 4%, 68%) | |
| CIE LAB | lab(27.37, 14.68, -8.6) | |
| CIE LCH | lch(27.37, 17.01, 329.65) | |
| CIE XYZ | xyz(6.232, 5.226, 7.887) | |
| Decimal | 5323086 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51394E, 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 #51394E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.27:1 | Pass | Pass | Pass |
| #51394E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.27:1 | Pass | Pass | Pass |
| Sample text | 2.05: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 #51394E looks to people with the most common types of color vision deficiency.
#383f4fProtanopia
no red cones#3e424dDeuteranopia
no green cones#533a40Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #51394e; }
.text { color: #51394e; }
.border { border: 2px solid #51394e; }
.transparent { background-color: rgb(81 57 78 / 50%); }
.gradient { background: linear-gradient(to right, #51394e, #513942); }
Similar colors
#4e334eShadow Purple#443240Voodoo#614051Eggplant#42364cCall It a Night#543254Purple Prose#64435fGrape Fizz#403547Royal Decree#654161Royal Plum
Questions
- What color is #51394E?
- #51394E is a dark, grayish magenta, closest to the named color Shadow Purple. It belongs to the purple family of colors.
- What is the RGB value of #51394E?
- The RGB value is 81, 57, 78: 81 red, 57 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #51394E?
- The complementary color is #39513C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51394E?
- White text. Black text has a contrast ratio of 2.05:1 and white text 10.27:1. WCAG asks for at least 4.5:1 for normal text.