#5B17AA color

#5B17AA rgb(91, 23, 170)
Shades of purple

The hex color #5B17AA is a dark, moderate violet.

In the RGB color model it is made of 35.7% red, 9% green and 66.7% blue (91, 23, 170).

Its hue angle is 268°, with 76% saturation and 38% lightness. For print, the CMYK equivalent is 46% cyan, 86% magenta, 0% yellow and 33% black.

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

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

#5B17AA color codes

HEX#5B17AA
RGBrgb(91, 23, 170)
RGB percentrgb(35.7%, 9%, 66.7%)
HSLhsl(268, 76%, 38%)
HSV / HSBhsv(268, 86%, 67%)
CMYKcmyk(46%, 86%, 0%, 33%)
CIE LABlab(28.74, 57.09, -64.29)
CIE LCHlch(28.74, 85.98, 311.61)
CIE XYZxyz(11.875, 5.739, 38.505)
Decimal5969834
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B17AA, 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 #5B17AARatioAAAAAAA large
Sample text2.15:1FailFailFail
Sample text9.78:1PassPassPass
#5B17AA as text onRatioAAAAAAA large
Sample text9.78:1PassPassPass
Sample text2.15: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 #5B17AA looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b17aa; }
.text { color: #5b17aa; }
.border { border: 2px solid #5b17aa; }
.transparent { background-color: rgb(91 23 170 / 50%); }
.gradient { background: linear-gradient(to right, #5b17aa, #a517aa); }
Background
Text color
Border

Similar colors

Questions

What color is #5B17AA?
#5B17AA 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 #5B17AA?
The RGB value is 91, 23, 170: 91 red, 23 green and 170 blue on a 0 to 255 scale.
What is the complementary color of #5B17AA?
The complementary color is #66AA17, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B17AA?
White text. Black text has a contrast ratio of 2.15:1 and white text 9.78:1. WCAG asks for at least 4.5:1 for normal text.