#51485F color
The hex color #51485F is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 28.2% green and 37.3% blue (81, 72, 95).
Its hue angle is 263°, with 14% saturation and 33% lightness. For print, the CMYK equivalent is 15% cyan, 24% magenta, 0% yellow and 63% black.
The closest named color is Nightly Walk (#544563), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.6:1).
#51485F color codes
| HEX | #51485F | |
|---|---|---|
| RGB | rgb(81, 72, 95) | |
| RGB percent | rgb(31.8%, 28.2%, 37.3%) | |
| HSL | hsl(263, 14%, 33%) | |
| HSV / HSB | hsv(263, 24%, 37%) | |
| CMYK | cmyk(15%, 24%, 0%, 63%) | |
| CIE LAB | lab(32.28, 8.95, -12.13) | |
| CIE LCH | lch(32.28, 15.07, 306.42) | |
| CIE XYZ | xyz(7.776, 7.21, 11.806) | |
| Decimal | 5326943 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51485F, 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 #51485F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.6:1 | Pass | Pass | Pass |
| #51485F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.6:1 | Pass | Pass | Pass |
| Sample text | 2.44: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 #51485F looks to people with the most common types of color vision deficiency.
#444c60Protanopia
no red cones#454c5eDeuteranopia
no green cones#4f4b50Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #51485f; }
.text { color: #51485f; }
.border { border: 2px solid #51485f; }
.transparent { background-color: rgb(81 72 95 / 50%); }
.gradient { background: linear-gradient(to right, #51485f, #5d485f); }
Similar colors
#544563Nightly Walk#4f4554Black Magic#565266Freefall#555570Majestic Magic#57446aHaunted Candelabra#42364cCall It a Night#625665Fedora#4d516cIntergalactic
Closest common color name: Eggplant.
Questions
- What color is #51485F?
- #51485F 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 #51485F?
- The RGB value is 81, 72, 95: 81 red, 72 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #51485F?
- The complementary color is #565F48, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51485F?
- White text. Black text has a contrast ratio of 2.44:1 and white text 8.6:1. WCAG asks for at least 4.5:1 for normal text.