#51486C color
The hex color #51486C is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 28.2% green and 42.4% blue (81, 72, 108).
Its hue angle is 255°, with 20% saturation and 35% lightness. For print, the CMYK equivalent is 25% cyan, 33% magenta, 0% yellow and 58% black.
The closest named color is Nightly Walk (#544563), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.42:1).
#51486C color codes
| HEX | #51486C | |
|---|---|---|
| RGB | rgb(81, 72, 108) | |
| RGB percent | rgb(31.8%, 28.2%, 42.4%) | |
| HSL | hsl(255, 20%, 35%) | |
| HSV / HSB | hsv(255, 33%, 42%) | |
| CMYK | cmyk(25%, 33%, 0%, 58%) | |
| CIE LAB | lab(32.85, 12.32, -19.49) | |
| CIE LCH | lch(32.85, 23.06, 302.29) | |
| CIE XYZ | xyz(8.417, 7.467, 15.182) | |
| Decimal | 5326956 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51486C, 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 #51486C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.42:1 | Pass | Pass | Pass |
| #51486C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.42:1 | Pass | Pass | Pass |
| Sample text | 2.49: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 #51486C looks to people with the most common types of color vision deficiency.
#3f4e6dProtanopia
no red cones#404d6bDeuteranopia
no green cones#4c4e55Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #51486c; }
.text { color: #51486c; }
.border { border: 2px solid #51486c; }
.transparent { background-color: rgb(81 72 108 / 50%); }
.gradient { background: linear-gradient(to right, #51486c, #63486c); }
Similar colors
#544563Nightly Walk#57446aHaunted Candelabra#61496eYour Majesty#4a3b6aMeteorite#614a7bRoyal Robe#3d3d63Storm Is Coming#50507fTangent Periwinkle#5c5083Freshly Purpleized
Closest common color name: Dark Slate Blue.
Questions
- What color is #51486C?
- #51486C is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
- What is the RGB value of #51486C?
- The RGB value is 81, 72, 108: 81 red, 72 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #51486C?
- The complementary color is #636C48, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51486C?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.42:1. WCAG asks for at least 4.5:1 for normal text.