#510857 color

#510857 rgb(81, 8, 87)
Shades of purple

The hex color #510857 is a very dark, vivid magenta.

In the RGB color model it is made of 31.8% red, 3.1% green and 34.1% blue (81, 8, 87).

Its hue angle is 295°, with 83% saturation and 19% lightness. For print, the CMYK equivalent is 7% cyan, 91% magenta, 0% yellow and 66% black.

The closest named color is Cloak and Dagger (#550055), a difference of 1.4 ΔE, which is barely visible.

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

#510857 color codes

HEX#510857
RGBrgb(81, 8, 87)
RGB percentrgb(31.8%, 3.1%, 34.1%)
HSLhsl(295, 83%, 19%)
HSV / HSBhsv(295, 91%, 34%)
CMYKcmyk(7%, 91%, 0%, 66%)
CIE LABlab(18.42, 41.47, -28.57)
CIE LCHlch(18.42, 50.36, 325.44)
CIE XYZxyz(5.2, 2.611, 9.245)
Decimal5310551
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #510857, 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 #510857RatioAAAAAAA large
Sample text1.52:1FailFailFail
Sample text13.8:1PassPassPass
#510857 as text onRatioAAAAAAA large
Sample text13.8:1PassPassPass
Sample text1.52: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 #510857 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Byzantium.

Questions

What color is #510857?
#510857 is a very dark, vivid magenta, closest to the named color Cloak and Dagger. It belongs to the purple family of colors.
What is the RGB value of #510857?
The RGB value is 81, 8, 87: 81 red, 8 green and 87 blue on a 0 to 255 scale.
What is the complementary color of #510857?
The complementary color is #0E5708, found by rotating the hue 180° on the color wheel.
Is black or white text better on #510857?
White text. Black text has a contrast ratio of 1.52:1 and white text 13.8:1. WCAG asks for at least 4.5:1 for normal text.