Drifting Violet color: hex code #5B4276

#5B4276 rgb(91, 66, 118)
Shades of purple

Drifting Violet has the hex code #5B4276. It is a dark, desaturated violet.

In the RGB color model it is made of 35.7% red, 25.9% green and 46.3% blue (91, 66, 118).

Its hue angle is 269°, with 28% saturation and 36% lightness. For print, the CMYK equivalent is 23% cyan, 44% magenta, 0% yellow and 54% black.

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

Drifting Violet (#5B4276) color codes

HEX#5B4276
RGBrgb(91, 66, 118)
RGB percentrgb(35.7%, 25.9%, 46.3%)
HSLhsl(269, 28%, 36%)
HSV / HSBhsv(269, 44%, 46%)
CMYKcmyk(23%, 44%, 0%, 54%)
CIE LABlab(32.76, 22.11, -25.83)
CIE LCHlch(32.76, 34, 310.57)
CIE XYZxyz(9.532, 7.429, 18.068)
Decimal5980790
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Drifting Violet, 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 #5B4276RatioAAAAAAA large
Sample text2.49:1FailFailFail
Sample text8.45:1PassPassPass
#5B4276 as text onRatioAAAAAAA large
Sample text8.45:1PassPassPass
Sample text2.49: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 #5B4276 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5b4276; }
.text { color: #5b4276; }
.border { border: 2px solid #5b4276; }
.transparent { background-color: rgb(91 66 118 / 50%); }
.gradient { background: linear-gradient(to right, #5b4276, #754276); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

See #5B4276 on its hex code page

Questions

What color is #5B4276?
#5B4276 is a dark, desaturated violet known as Drifting Violet. It belongs to the purple family of colors.
What is the RGB value of Drifting Violet?
The RGB value is 91, 66, 118: 91 red, 66 green and 118 blue on a 0 to 255 scale.
What is the complementary color of Drifting Violet?
The complementary color is #5D7642, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5B4276?
White text. Black text has a contrast ratio of 2.49:1 and white text 8.45:1. WCAG asks for at least 4.5:1 for normal text.