#51485C color
The hex color #51485C is a dark, grayish violet.
In the RGB color model it is made of 31.8% red, 28.2% green and 36.1% blue (81, 72, 92).
Its hue angle is 267°, with 12% saturation and 32% lightness. For print, the CMYK equivalent is 12% cyan, 22% magenta, 0% yellow and 64% black.
The closest named color is Black Magic (#4F4554), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.64:1).
#51485C color codes
| HEX | #51485C | |
|---|---|---|
| RGB | rgb(81, 72, 92) | |
| RGB percent | rgb(31.8%, 28.2%, 36.1%) | |
| HSL | hsl(267, 12%, 32%) | |
| HSV / HSB | hsv(267, 22%, 36%) | |
| CMYK | cmyk(12%, 22%, 0%, 64%) | |
| CIE LAB | lab(32.16, 8.21, -10.4) | |
| CIE LCH | lch(32.16, 13.25, 308.3) | |
| CIE XYZ | xyz(7.642, 7.157, 11.102) | |
| Decimal | 5326940 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51485C, 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 #51485C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.64:1 | Pass | Pass | Pass |
| #51485C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.64:1 | Pass | Pass | Pass |
| Sample text | 2.43: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 #51485C looks to people with the most common types of color vision deficiency.
#454b5dProtanopia
no red cones#464c5bDeuteranopia
no green cones#504b4fTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #51485c; }
.text { color: #51485c; }
.border { border: 2px solid #51485c; }
.transparent { background-color: rgb(81 72 92 / 50%); }
.gradient { background: linear-gradient(to right, #51485c, #5b485c); }
Similar colors
#4f4554Black Magic#565266Freefall#544563Nightly Walk#413d4bItalian Grape#625665Fedora#484753Gun Powder#42364cCall It a Night#555570Majestic Magic
Closest common color name: Eggplant.
Questions
- What color is #51485C?
- #51485C is a dark, grayish violet, closest to the named color Black Magic. It belongs to the purple family of colors.
- What is the RGB value of #51485C?
- The RGB value is 81, 72, 92: 81 red, 72 green and 92 blue on a 0 to 255 scale.
- What is the complementary color of #51485C?
- The complementary color is #535C48, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51485C?
- White text. Black text has a contrast ratio of 2.43:1 and white text 8.64:1. WCAG asks for at least 4.5:1 for normal text.