#51204A color

#51204A rgb(81, 32, 74)
Shades of purple

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

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

Its hue angle is 309°, with 43% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 60% magenta, 9% yellow and 68% black.

The closest named color is Murasaki (#4F284B), a difference of 2.6 ΔE, a small difference.

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

#51204A color codes

HEX#51204A
RGBrgb(81, 32, 74)
RGB percentrgb(31.8%, 12.5%, 29%)
HSLhsl(309, 43%, 22%)
HSV / HSBhsv(309, 60%, 32%)
CMYKcmyk(0%, 60%, 9%, 68%)
CIE LABlab(21.12, 29.15, -15.5)
CIE LCHlch(21.12, 33.01, 332)
CIE XYZxyz(5.146, 3.277, 6.839)
Decimal5316682
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Byzantium.

Questions

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