#51394E color

#51394E rgb(81, 57, 78)
Shades of purple

The hex color #51394E is a dark, grayish magenta.

In the RGB color model it is made of 31.8% red, 22.4% green and 30.6% blue (81, 57, 78).

Its hue angle is 308°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 4% yellow and 68% black.

The closest named color is Shadow Purple (#4E334E), a difference of 2.8 ΔE, a small difference.

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

#51394E color codes

HEX#51394E
RGBrgb(81, 57, 78)
RGB percentrgb(31.8%, 22.4%, 30.6%)
HSLhsl(308, 17%, 27%)
HSV / HSBhsv(308, 30%, 32%)
CMYKcmyk(0%, 30%, 4%, 68%)
CIE LABlab(27.37, 14.68, -8.6)
CIE LCHlch(27.37, 17.01, 329.65)
CIE XYZxyz(6.232, 5.226, 7.887)
Decimal5323086
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #51394e; }
.text { color: #51394e; }
.border { border: 2px solid #51394e; }
.transparent { background-color: rgb(81 57 78 / 50%); }
.gradient { background: linear-gradient(to right, #51394e, #513942); }
Background
Text color
Border

Similar colors

Questions

What color is #51394E?
#51394E is a dark, grayish magenta, closest to the named color Shadow Purple. It belongs to the purple family of colors.
What is the RGB value of #51394E?
The RGB value is 81, 57, 78: 81 red, 57 green and 78 blue on a 0 to 255 scale.
What is the complementary color of #51394E?
The complementary color is #39513C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51394E?
White text. Black text has a contrast ratio of 2.05:1 and white text 10.27:1. WCAG asks for at least 4.5:1 for normal text.