#51304A color

#51304A rgb(81, 48, 74)
Shades of purple

The hex color #51304A is a dark, desaturated magenta.

In the RGB color model it is made of 31.8% red, 18.8% green and 29% blue (81, 48, 74).

Its hue angle is 313°, with 26% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 41% magenta, 9% yellow and 68% black.

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

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

#51304A color codes

HEX#51304A
RGBrgb(81, 48, 74)
RGB percentrgb(31.8%, 18.8%, 29%)
HSLhsl(313, 26%, 25%)
HSV / HSBhsv(313, 41%, 32%)
CMYKcmyk(0%, 41%, 9%, 68%)
CIE LABlab(24.82, 19.6, -9.81)
CIE LCHlch(24.82, 21.92, 333.41)
CIE XYZxyz(5.686, 4.358, 7.019)
Decimal5320778
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51304A, 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 #51304ARatioAAAAAAA large
Sample text1.87:1FailFailFail
Sample text11.22:1PassPassPass
#51304A as text onRatioAAAAAAA large
Sample text11.22:1PassPassPass
Sample text1.87: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 #51304A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51304a; }
.text { color: #51304a; }
.border { border: 2px solid #51304a; }
.transparent { background-color: rgb(81 48 74 / 50%); }
.gradient { background: linear-gradient(to right, #51304a, #513039); }
Background
Text color
Border

Similar colors

Questions

What color is #51304A?
#51304A is a dark, desaturated magenta, closest to the named color Shadow Purple. It belongs to the purple family of colors.
What is the RGB value of #51304A?
The RGB value is 81, 48, 74: 81 red, 48 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #51304A?
The complementary color is #305137, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51304A?
White text. Black text has a contrast ratio of 1.87:1 and white text 11.22:1. WCAG asks for at least 4.5:1 for normal text.