#513D5C color

#513D5C rgb(81, 61, 92)
Shades of purple

The hex color #513D5C is a dark, grayish violet.

In the RGB color model it is made of 31.8% red, 23.9% green and 36.1% blue (81, 61, 92).

Its hue angle is 279°, with 20% saturation and 30% lightness. For print, the CMYK equivalent is 12% cyan, 34% magenta, 0% yellow and 64% black.

The closest named color is Nightly Walk (#544563), a difference of 2.9 ΔE, a small difference.

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

#513D5C color codes

HEX#513D5C
RGBrgb(81, 61, 92)
RGB percentrgb(31.8%, 23.9%, 36.1%)
HSLhsl(279, 20%, 30%)
HSV / HSBhsv(279, 34%, 36%)
CMYKcmyk(12%, 34%, 0%, 64%)
CIE LABlab(29.06, 15.31, -15.14)
CIE LCHlch(29.06, 21.54, 315.32)
CIE XYZxyz(6.994, 5.86, 10.886)
Decimal5324124
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #513D5C, 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 #513D5CRatioAAAAAAA large
Sample text2.17:1FailFailFail
Sample text9.67:1PassPassPass
#513D5C as text onRatioAAAAAAA large
Sample text9.67:1PassPassPass
Sample text2.17: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 #513D5C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #513d5c; }
.text { color: #513d5c; }
.border { border: 2px solid #513d5c; }
.transparent { background-color: rgb(81 61 92 / 50%); }
.gradient { background: linear-gradient(to right, #513d5c, #5c3d57); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #513D5C?
#513D5C is a dark, grayish violet, closest to the named color Nightly Walk. It belongs to the purple family of colors.
What is the RGB value of #513D5C?
The RGB value is 81, 61, 92: 81 red, 61 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #513D5C?
The complementary color is #485C3D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #513D5C?
White text. Black text has a contrast ratio of 2.17:1 and white text 9.67:1. WCAG asks for at least 4.5:1 for normal text.