#512851 color

#512851 rgb(81, 40, 81)
Shades of purple

The hex color #512851 is a dark, desaturated magenta.

In the RGB color model it is made of 31.8% red, 15.7% green and 31.8% blue (81, 40, 81).

Its hue angle is 300°, with 34% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 51% magenta, 0% yellow and 68% black.

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

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

#512851 color codes

HEX#512851
RGBrgb(81, 40, 81)
RGB percentrgb(31.8%, 15.7%, 31.8%)
HSLhsl(300, 34%, 24%)
HSV / HSBhsv(300, 51%, 32%)
CMYKcmyk(0%, 51%, 0%, 68%)
CIE LABlab(23.21, 25.99, -16.97)
CIE LCHlch(23.21, 31.04, 326.86)
CIE XYZxyz(5.637, 3.861, 8.231)
Decimal5318737
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #512851; }
.text { color: #512851; }
.border { border: 2px solid #512851; }
.transparent { background-color: rgb(81 40 81 / 50%); }
.gradient { background: linear-gradient(to right, #512851, #51283d); }
Background
Text color
Border

Similar colors

Closest common color name: Byzantium.

Questions

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