#513A5D color

#513A5D rgb(81, 58, 93)
Shades of purple

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

In the RGB color model it is made of 31.8% red, 22.7% green and 36.5% blue (81, 58, 93).

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

The closest named color is Royal Crown (#4F325E), a difference of 3.3 ΔE, a small difference.

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

#513A5D color codes

HEX#513A5D
RGBrgb(81, 58, 93)
RGB percentrgb(31.8%, 22.7%, 36.5%)
HSLhsl(279, 23%, 30%)
HSV / HSBhsv(279, 38%, 36%)
CMYKcmyk(13%, 38%, 0%, 64%)
CIE LABlab(28.29, 17.49, -16.97)
CIE LCHlch(28.29, 24.37, 315.87)
CIE XYZxyz(6.882, 5.566, 11.066)
Decimal5323357
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Eggplant.

Questions

What color is #513A5D?
#513A5D is a dark, grayish violet, closest to the named color Royal Crown. It belongs to the purple family of colors.
What is the RGB value of #513A5D?
The RGB value is 81, 58, 93: 81 red, 58 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #513A5D?
The complementary color is #465D3A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #513A5D?
White text. Black text has a contrast ratio of 2.11:1 and white text 9.94:1. WCAG asks for at least 4.5:1 for normal text.