#512857 color

#512857 rgb(81, 40, 87)
Shades of purple

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

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

Its hue angle is 292°, with 37% saturation and 25% lightness. For print, the CMYK equivalent is 7% cyan, 54% magenta, 0% yellow and 66% black.

The closest named color is Wonka Purple (#4A2559), a difference of 2.5 ΔE, a small difference.

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

#512857 color codes

HEX#512857
RGBrgb(81, 40, 87)
RGB percentrgb(31.8%, 15.7%, 34.1%)
HSLhsl(292, 37%, 25%)
HSV / HSBhsv(292, 54%, 34%)
CMYKcmyk(7%, 54%, 0%, 66%)
CIE LABlab(23.52, 27.3, -20.47)
CIE LCHlch(23.52, 34.12, 323.15)
CIE XYZxyz(5.872, 3.955, 9.469)
Decimal5318743
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Byzantium.

Questions

What color is #512857?
#512857 is a dark, desaturated magenta, closest to the named color Wonka Purple. It belongs to the purple family of colors.
What is the RGB value of #512857?
The RGB value is 81, 40, 87: 81 red, 40 green and 87 blue on a 0 to 255 scale.
What is the complementary color of #512857?
The complementary color is #2E5728, found by rotating the hue 180° on the color wheel.
Is black or white text better on #512857?
White text. Black text has a contrast ratio of 1.79:1 and white text 11.73:1. WCAG asks for at least 4.5:1 for normal text.