#512A75 color

#512A75 rgb(81, 42, 117)
Shades of purple

The hex color #512A75 is a dark, desaturated violet.

In the RGB color model it is made of 31.8% red, 16.5% green and 45.9% blue (81, 42, 117).

Its hue angle is 271°, with 47% saturation and 31% lightness. For print, the CMYK equivalent is 31% cyan, 64% magenta, 0% yellow and 54% black.

The closest named color is Purple Seduction (#522A6F), a difference of 1.5 ΔE, which is barely visible.

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

#512A75 color codes

HEX#512A75
RGBrgb(81, 42, 117)
RGB percentrgb(31.8%, 16.5%, 45.9%)
HSLhsl(271, 47%, 31%)
HSV / HSBhsv(271, 64%, 46%)
CMYKcmyk(31%, 64%, 0%, 54%)
CIE LABlab(25.83, 33.5, -36.28)
CIE LCHlch(25.83, 49.38, 312.71)
CIE XYZxyz(7.431, 4.69, 17.34)
Decimal5319285
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #512A75, 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 #512A75RatioAAAAAAA large
Sample text1.94:1FailFailFail
Sample text10.84:1PassPassPass
#512A75 as text onRatioAAAAAAA large
Sample text10.84:1PassPassPass
Sample text1.94: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 #512A75 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #512a75; }
.text { color: #512a75; }
.border { border: 2px solid #512a75; }
.transparent { background-color: rgb(81 42 117 / 50%); }
.gradient { background: linear-gradient(to right, #512a75, #752a73); }
Background
Text color
Border

Similar colors

Closest common color name: Rebecca Purple.

Questions

What color is #512A75?
#512A75 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 #512A75?
The RGB value is 81, 42, 117: 81 red, 42 green and 117 blue on a 0 to 255 scale.
What is the complementary color of #512A75?
The complementary color is #4E752A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #512A75?
White text. Black text has a contrast ratio of 1.94:1 and white text 10.84:1. WCAG asks for at least 4.5:1 for normal text.