#51344E color
The hex color #51344E is a dark, grayish magenta.
In the RGB color model it is made of 31.8% red, 20.4% green and 30.6% blue (81, 52, 78).
Its hue angle is 306°, with 22% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 36% magenta, 4% yellow and 68% black.
The closest named color is Shadow Purple (#4E334E), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.76:1).
#51344E color codes
| HEX | #51344E | |
|---|---|---|
| RGB | rgb(81, 52, 78) | |
| RGB percent | rgb(31.8%, 20.4%, 30.6%) | |
| HSL | hsl(306, 22%, 26%) | |
| HSV / HSB | hsv(306, 36%, 32%) | |
| CMYK | cmyk(0%, 36%, 4%, 68%) | |
| CIE LAB | lab(26.03, 17.9, -10.63) | |
| CIE LCH | lch(26.03, 20.82, 329.28) | |
| CIE XYZ | xyz(5.996, 4.756, 7.808) | |
| Decimal | 5321806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51344E, 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 #51344E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.95:1 | Fail | Fail | Fail |
| Sample text | 10.76:1 | Pass | Pass | Pass |
| #51344E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.76:1 | Pass | Pass | Pass |
| Sample text | 1.95: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 #51344E looks to people with the most common types of color vision deficiency.
#333b4fProtanopia
no red cones#3a3f4dDeuteranopia
no green cones#53363dTritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #51344e; }
.text { color: #51344e; }
.border { border: 2px solid #51344e; }
.transparent { background-color: rgb(81 52 78 / 50%); }
.gradient { background: linear-gradient(to right, #51344e, #51343f); }
Similar colors
#4e334eShadow Purple#543254Purple Prose#4f284bMurasaki#5b365eLong Passionate Night#64435fGrape Fizz#654161Royal Plum#614051Eggplant#442244Purple Void
Questions
- What color is #51344E?
- #51344E 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 #51344E?
- The RGB value is 81, 52, 78: 81 red, 52 green and 78 blue on a 0 to 255 scale.
- What is the complementary color of #51344E?
- The complementary color is #345137, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51344E?
- White text. Black text has a contrast ratio of 1.95:1 and white text 10.76:1. WCAG asks for at least 4.5:1 for normal text.