#512D4D color

#512D4D rgb(81, 45, 77)
Shades of purple

The hex color #512D4D is a dark, desaturated magenta.

In the RGB color model it is made of 31.8% red, 17.6% green and 30.2% blue (81, 45, 77).

Its hue angle is 307°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 5% yellow and 68% black.

The closest named color is Murasaki (#4F284B), a difference of 1.5 ΔE, which is barely visible.

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

#512D4D color codes

HEX#512D4D
RGBrgb(81, 45, 77)
RGB percentrgb(31.8%, 17.6%, 30.2%)
HSLhsl(307, 29%, 25%)
HSV / HSBhsv(307, 44%, 32%)
CMYKcmyk(0%, 44%, 5%, 68%)
CIE LABlab(24.2, 22.1, -12.76)
CIE LCHlch(24.2, 25.52, 330)
CIE XYZxyz(5.671, 4.162, 7.524)
Decimal5320013
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #512D4D, 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 #512D4DRatioAAAAAAA large
Sample text1.83:1FailFailFail
Sample text11.46:1PassPassPass
#512D4D as text onRatioAAAAAAA large
Sample text11.46:1PassPassPass
Sample text1.83: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 #512D4D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #512d4d; }
.text { color: #512d4d; }
.border { border: 2px solid #512d4d; }
.transparent { background-color: rgb(81 45 77 / 50%); }
.gradient { background: linear-gradient(to right, #512d4d, #512d3b); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #512D4D?
#512D4D 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 #512D4D?
The RGB value is 81, 45, 77: 81 red, 45 green and 77 blue on a 0 to 255 scale.
What is the complementary color of #512D4D?
The complementary color is #2D5131, found by rotating the hue 180° on the color wheel.
Is black or white text better on #512D4D?
White text. Black text has a contrast ratio of 1.83:1 and white text 11.46:1. WCAG asks for at least 4.5:1 for normal text.