#51314B color
The hex color #51314B is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 19.2% green and 29.4% blue (81, 49, 75).
Its hue angle is 311°, with 25% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 40% magenta, 7% yellow and 68% black.
The closest named color is Shadow Purple (#4E334E), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.11:1).
#51314B color codes
| HEX | #51314B | |
|---|---|---|
| RGB | rgb(81, 49, 75) | |
| RGB percent | rgb(31.8%, 19.2%, 29.4%) | |
| HSL | hsl(311, 25%, 25%) | |
| HSV / HSB | hsv(311, 40%, 32%) | |
| CMYK | cmyk(0%, 40%, 7%, 68%) | |
| CIE LAB | lab(25.12, 19.17, -10.02) | |
| CIE LCH | lch(25.12, 21.64, 332.4) | |
| CIE XYZ | xyz(5.762, 4.454, 7.212) | |
| Decimal | 5321035 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51314B, 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 #51314B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.89:1 | Fail | Fail | Fail |
| Sample text | 11.11:1 | Pass | Pass | Pass |
| #51314B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.11:1 | Pass | Pass | Pass |
| Sample text | 1.89: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 #51314B looks to people with the most common types of color vision deficiency.
#31394cProtanopia
no red cones#393d4aDeuteranopia
no green cones#54333aTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #51314b; }
.text { color: #51314b; }
.border { border: 2px solid #51314b; }
.transparent { background-color: rgb(81 49 75 / 50%); }
.gradient { background: linear-gradient(to right, #51314b, #51313b); }
Similar colors
#4e334eShadow Purple#543254Purple Prose#4f284bMurasaki#5b365eLong Passionate Night#442244Purple Void#614051Eggplant#654161Royal Plum#64435fGrape Fizz
Questions
- What color is #51314B?
- #51314B 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 #51314B?
- The RGB value is 81, 49, 75: 81 red, 49 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #51314B?
- The complementary color is #315137, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51314B?
- White text. Black text has a contrast ratio of 1.89:1 and white text 11.11:1. WCAG asks for at least 4.5:1 for normal text.