#513271 color

#513271 rgb(81, 50, 113)
Shades of purple

The hex color #513271 is a dark, desaturated violet.

In the RGB color model it is made of 31.8% red, 19.6% green and 44.3% blue (81, 50, 113).

Its hue angle is 270°, with 39% saturation and 32% lightness. For print, the CMYK equivalent is 28% cyan, 56% magenta, 0% yellow and 56% black.

The closest named color is Purple Seduction (#522A6F), a difference of 2.4 ΔE, a small difference.

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

#513271 color codes

HEX#513271
RGBrgb(81, 50, 113)
RGB percentrgb(31.8%, 19.6%, 44.3%)
HSLhsl(270, 39%, 32%)
HSV / HSBhsv(270, 56%, 44%)
CMYKcmyk(28%, 56%, 0%, 56%)
CIE LABlab(27.36, 27.69, -31.29)
CIE LCHlch(27.36, 41.78, 311.51)
CIE XYZxyz(7.514, 5.223, 16.232)
Decimal5321329
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #513271, 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 #513271RatioAAAAAAA large
Sample text2.04:1FailFailFail
Sample text10.27:1PassPassPass
#513271 as text onRatioAAAAAAA large
Sample text10.27:1PassPassPass
Sample text2.04: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 #513271 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #513271?
#513271 is a dark, desaturated violet, closest to the named color Purple Seduction. It belongs to the purple family of colors.
What is the RGB value of #513271?
The RGB value is 81, 50, 113: 81 red, 50 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #513271?
The complementary color is #527132, found by rotating the hue 180° on the color wheel.
Is black or white text better on #513271?
White text. Black text has a contrast ratio of 2.04:1 and white text 10.27:1. WCAG asks for at least 4.5:1 for normal text.