#5717A6 color

#5717A6 rgb(87, 23, 166)
Shades of purple

The hex color #5717A6 is a dark, moderate violet.

In the RGB color model it is made of 34.1% red, 9% green and 65.1% blue (87, 23, 166).

Its hue angle is 267°, with 76% saturation and 37% lightness. For print, the CMYK equivalent is 48% cyan, 86% magenta, 0% yellow and 35% black.

The closest named color is Wild Violet (#63209B), a difference of 3.2 ΔE, a small difference.

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

#5717A6 color codes

HEX#5717A6
RGBrgb(87, 23, 166)
RGB percentrgb(34.1%, 9%, 65.1%)
HSLhsl(267, 76%, 37%)
HSV / HSBhsv(267, 86%, 65%)
CMYKcmyk(48%, 86%, 0%, 35%)
CIE LABlab(27.82, 55.64, -63.41)
CIE LCHlch(27.82, 84.36, 311.27)
CIE XYZxyz(11.118, 5.392, 36.524)
Decimal5707686
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5717a6; }
.text { color: #5717a6; }
.border { border: 2px solid #5717a6; }
.transparent { background-color: rgb(87 23 166 / 50%); }
.gradient { background: linear-gradient(to right, #5717a6, #9f17a6); }
Background
Text color
Border

Similar colors

Questions

What color is #5717A6?
#5717A6 is a dark, moderate violet, closest to the named color Wild Violet. It belongs to the purple family of colors.
What is the RGB value of #5717A6?
The RGB value is 87, 23, 166: 87 red, 23 green and 166 blue on a 0 to 255 scale.
What is the complementary color of #5717A6?
The complementary color is #66A617, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5717A6?
White text. Black text has a contrast ratio of 2.08:1 and white text 10.1:1. WCAG asks for at least 4.5:1 for normal text.