#51395B color
The hex color #51395B is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 22.4% green and 35.7% blue (81, 57, 91).
Its hue angle is 282°, with 23% saturation and 29% lightness. For print, the CMYK equivalent is 11% cyan, 37% magenta, 0% yellow and 64% black.
The closest named color is Purple Prose (#543254), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.07:1).
#51395B color codes
| HEX | #51395B | |
|---|---|---|
| RGB | rgb(81, 57, 91) | |
| RGB percent | rgb(31.8%, 22.4%, 35.7%) | |
| HSL | hsl(282, 23%, 29%) | |
| HSV / HSB | hsv(282, 37%, 36%) | |
| CMYK | cmyk(11%, 37%, 0%, 64%) | |
| CIE LAB | lab(27.93, 17.65, -16.23) | |
| CIE LCH | lch(27.93, 23.98, 317.4) | |
| CIE XYZ | xyz(6.745, 5.431, 10.589) | |
| Decimal | 5323099 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51395B, 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 #51395B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.09:1 | Fail | Fail | Fail |
| Sample text | 10.07:1 | Pass | Pass | Pass |
| #51395B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.07:1 | Pass | Pass | Pass |
| Sample text | 2.09: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 #51395B looks to people with the most common types of color vision deficiency.
#34405cProtanopia
no red cones#39435aDeuteranopia
no green cones#513d46Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #51395b; }
.text { color: #51395b; }
.border { border: 2px solid #51395b; }
.transparent { background-color: rgb(81 57 91 / 50%); }
.gradient { background: linear-gradient(to right, #51395b, #5b3954); }
Similar colors
#543254Purple Prose#4f325eRoyal Crown#4e334eShadow Purple#5b365eLong Passionate Night#57446aHaunted Candelabra#544563Nightly Walk#593569Purple Protégé#653b66Wine Tour
Closest common color name: Eggplant.
Questions
- What color is #51395B?
- #51395B is a dark, grayish magenta, closest to the named color Purple Prose. It belongs to the purple family of colors.
- What is the RGB value of #51395B?
- The RGB value is 81, 57, 91: 81 red, 57 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #51395B?
- The complementary color is #435B39, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51395B?
- White text. Black text has a contrast ratio of 2.09:1 and white text 10.07:1. WCAG asks for at least 4.5:1 for normal text.