#51485C color

#51485C rgb(81, 72, 92)
Shades of purple

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
RGBrgb(81, 72, 92)
RGB percentrgb(31.8%, 28.2%, 36.1%)
HSLhsl(267, 12%, 32%)
HSV / HSBhsv(267, 22%, 36%)
CMYKcmyk(12%, 22%, 0%, 64%)
CIE LABlab(32.16, 8.21, -10.4)
CIE LCHlch(32.16, 13.25, 308.3)
CIE XYZxyz(7.642, 7.157, 11.102)
Decimal5326940
Short hexNone (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 #51485CRatioAAAAAAA large
Sample text2.43:1FailFailFail
Sample text8.64:1PassPassPass
#51485C as text onRatioAAAAAAA large
Sample text8.64:1PassPassPass
Sample text2.43:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.