#51475E color

#51475E rgb(81, 71, 94)
Shades of purple

The hex color #51475E is a dark, grayish violet.

In the RGB color model it is made of 31.8% red, 27.8% green and 36.9% blue (81, 71, 94).

Its hue angle is 266°, with 14% saturation and 32% lightness. For print, the CMYK equivalent is 14% cyan, 24% magenta, 0% yellow and 63% black.

The closest named color is Nightly Walk (#544563), a difference of 3.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 8.7:1).

#51475E color codes

HEX#51475E
RGBrgb(81, 71, 94)
RGB percentrgb(31.8%, 27.8%, 36.9%)
HSLhsl(266, 14%, 32%)
HSV / HSBhsv(266, 24%, 37%)
CMYKcmyk(14%, 24%, 0%, 63%)
CIE LABlab(31.95, 9.34, -11.99)
CIE LCHlch(31.95, 15.2, 307.93)
CIE XYZxyz(7.667, 7.064, 11.547)
Decimal5326686
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51475E, 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 #51475ERatioAAAAAAA large
Sample text2.41:1FailFailFail
Sample text8.7:1PassPassPass
#51475E as text onRatioAAAAAAA large
Sample text8.7:1PassPassPass
Sample text2.41: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 #51475E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51475e; }
.text { color: #51475e; }
.border { border: 2px solid #51475e; }
.transparent { background-color: rgb(81 71 94 / 50%); }
.gradient { background: linear-gradient(to right, #51475e, #5c475e); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #51475E?
#51475E 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 #51475E?
The RGB value is 81, 71, 94: 81 red, 71 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #51475E?
The complementary color is #545E47, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51475E?
White text. Black text has a contrast ratio of 2.41:1 and white text 8.7:1. WCAG asks for at least 4.5:1 for normal text.