#51396F color
The hex color #51396F is a dark, desaturated violet.
In the RGB color model it is made of 31.8% red, 22.4% green and 43.5% blue (81, 57, 111).
Its hue angle is 267°, with 32% saturation and 33% lightness. For print, the CMYK equivalent is 27% cyan, 49% magenta, 0% yellow and 56% black.
The closest named color is Meteorite (#4A3B6A), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.7:1).
#51396F color codes
| HEX | #51396F | |
|---|---|---|
| RGB | rgb(81, 57, 111) | |
| RGB percent | rgb(31.8%, 22.4%, 43.5%) | |
| HSL | hsl(267, 32%, 33%) | |
| HSV / HSB | hsv(267, 49%, 44%) | |
| CMYK | cmyk(27%, 49%, 0%, 56%) | |
| CIE LAB | lab(28.96, 22.78, -27.47) | |
| CIE LCH | lch(28.96, 35.69, 309.67) | |
| CIE XYZ | xyz(7.725, 5.823, 15.753) | |
| Decimal | 5323119 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51396F, 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 #51396F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.7:1 | Pass | Pass | Pass |
| #51396F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.7:1 | Pass | Pass | Pass |
| Sample text | 2.16: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 #51396F looks to people with the most common types of color vision deficiency.
#2a4471Protanopia
no red cones#30446eDeuteranopia
no green cones#4c424eTritanopia
no blue cones#444444Achromatopsia
no color vision
CSS examples
.background { background-color: #51396f; }
.text { color: #51396f; }
.border { border: 2px solid #51396f; }
.transparent { background-color: rgb(81 57 111 / 50%); }
.gradient { background: linear-gradient(to right, #51396f, #6c396f); }
Similar colors
#4a3b6aMeteorite#5b4276Drifting Violet#593569Purple Protégé#5c457bIn the Vines#4f325eRoyal Crown#623b70Heartless#583580Kingfisher Daisy#48357bGalactic Compass
Closest common color name: Dark Slate Blue.
Questions
- What color is #51396F?
- #51396F is a dark, desaturated violet, closest to the named color Meteorite. It belongs to the purple family of colors.
- What is the RGB value of #51396F?
- The RGB value is 81, 57, 111: 81 red, 57 green and 111 blue on a 0 to 255 scale.
- What is the complementary color of #51396F?
- The complementary color is #576F39, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51396F?
- White text. Black text has a contrast ratio of 2.16:1 and white text 9.7:1. WCAG asks for at least 4.5:1 for normal text.