#51344B color
The hex color #51344B is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 20.4% green and 29.4% blue (81, 52, 75).
Its hue angle is 312°, with 22% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 36% magenta, 7% yellow and 68% black.
The closest named color is Shadow Purple (#4E334E), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.81:1).
#51344B color codes
| HEX | #51344B | |
|---|---|---|
| RGB | rgb(81, 52, 75) | |
| RGB percent | rgb(31.8%, 20.4%, 29.4%) | |
| HSL | hsl(312, 22%, 26%) | |
| HSV / HSB | hsv(312, 36%, 32%) | |
| CMYK | cmyk(0%, 36%, 7%, 68%) | |
| CIE LAB | lab(25.9, 17.26, -8.83) | |
| CIE LCH | lch(25.9, 19.39, 332.9) | |
| CIE XYZ | xyz(5.891, 4.714, 7.255) | |
| Decimal | 5321803 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51344B, 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 #51344B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.81:1 | Pass | Pass | Pass |
| #51344B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.81:1 | Pass | Pass | Pass |
| Sample text | 1.94: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 #51344B looks to people with the most common types of color vision deficiency.
#343b4cProtanopia
no red cones#3b3f4aDeuteranopia
no green cones#54353cTritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #51344b; }
.text { color: #51344b; }
.border { border: 2px solid #51344b; }
.transparent { background-color: rgb(81 52 75 / 50%); }
.gradient { background: linear-gradient(to right, #51344b, #51343c); }
Similar colors
#4e334eShadow Purple#543254Purple Prose#4f284bMurasaki#614051Eggplant#443240Voodoo#64435fGrape Fizz#5b365eLong Passionate Night#654161Royal Plum
Questions
- What color is #51344B?
- #51344B 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 #51344B?
- The RGB value is 81, 52, 75: 81 red, 52 green and 75 blue on a 0 to 255 scale.
- What is the complementary color of #51344B?
- The complementary color is #34513A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51344B?
- White text. Black text has a contrast ratio of 1.94:1 and white text 10.81:1. WCAG asks for at least 4.5:1 for normal text.