#511E4B color

#511E4B rgb(81, 30, 75)
Shades of purple

The hex color #511E4B is a dark, desaturated magenta.

In the RGB color model it is made of 31.8% red, 11.8% green and 29.4% blue (81, 30, 75).

Its hue angle is 307°, with 46% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 63% magenta, 7% yellow and 68% black.

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

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

#511E4B color codes

HEX#511E4B
RGBrgb(81, 30, 75)
RGB percentrgb(31.8%, 11.8%, 29.4%)
HSLhsl(307, 46%, 22%)
HSV / HSBhsv(307, 63%, 32%)
CMYKcmyk(0%, 63%, 7%, 68%)
CIE LABlab(20.77, 30.42, -16.72)
CIE LCHlch(20.77, 34.71, 331.21)
CIE XYZxyz(5.128, 3.186, 7)
Decimal5316171
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #511E4B, 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 #511E4BRatioAAAAAAA large
Sample text1.64:1FailFailFail
Sample text12.83:1PassPassPass
#511E4B as text onRatioAAAAAAA large
Sample text12.83:1PassPassPass
Sample text1.64: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 #511E4B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #511e4b; }
.text { color: #511e4b; }
.border { border: 2px solid #511e4b; }
.transparent { background-color: rgb(81 30 75 / 50%); }
.gradient { background: linear-gradient(to right, #511e4b, #511e32); }
Background
Text color
Border

Similar colors

Closest common color name: Byzantium.

Questions

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