#5B3F96 color

#5B3F96 rgb(91, 63, 150)
Shades of purple

The hex color #5B3F96 is a desaturated violet.

In the RGB color model it is made of 35.7% red, 24.7% green and 58.8% blue (91, 63, 150).

Its hue angle is 259°, with 41% saturation and 42% lightness. For print, the CMYK equivalent is 39% cyan, 58% magenta, 0% yellow and 41% black.

The closest named color is Ruthless Empress (#573894), a difference of 2 ΔE, which is barely visible.

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

#5B3F96 color codes

HEX#5B3F96
RGBrgb(91, 63, 150)
RGB percentrgb(35.7%, 24.7%, 58.8%)
HSLhsl(259, 41%, 42%)
HSV / HSBhsv(259, 58%, 59%)
CMYKcmyk(39%, 58%, 0%, 41%)
CIE LABlab(33.94, 32.71, -43.71)
CIE LCHlch(33.94, 54.59, 306.81)
CIE XYZxyz(11.595, 7.981, 29.778)
Decimal5980054
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5B3F96, 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 #5B3F96RatioAAAAAAA large
Sample text2.6:1FailFailFail
Sample text8.09:1PassPassPass
#5B3F96 as text onRatioAAAAAAA large
Sample text8.09:1PassPassPass
Sample text2.6: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 #5B3F96 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b3f96; }
.text { color: #5b3f96; }
.border { border: 2px solid #5b3f96; }
.transparent { background-color: rgb(91 63 150 / 50%); }
.gradient { background: linear-gradient(to right, #5b3f96, #873f96); }
Background
Text color
Border

Similar colors

Questions

What color is #5B3F96?
#5B3F96 is a desaturated violet, closest to the named color Ruthless Empress. It belongs to the purple family of colors.
What is the RGB value of #5B3F96?
The RGB value is 91, 63, 150: 91 red, 63 green and 150 blue on a 0 to 255 scale.
What is the complementary color of #5B3F96?
The complementary color is #7A963F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B3F96?
White text. Black text has a contrast ratio of 2.6:1 and white text 8.09:1. WCAG asks for at least 4.5:1 for normal text.