Drifting Violet color: hex code #5B4276
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 | |
|---|---|---|
| RGB | rgb(91, 66, 118) | |
| RGB percent | rgb(35.7%, 25.9%, 46.3%) | |
| HSL | hsl(269, 28%, 36%) | |
| HSV / HSB | hsv(269, 44%, 46%) | |
| CMYK | cmyk(23%, 44%, 0%, 54%) | |
| CIE LAB | lab(32.76, 22.11, -25.83) | |
| CIE LCH | lch(32.76, 34, 310.57) | |
| CIE XYZ | xyz(9.532, 7.429, 18.068) | |
| Decimal | 5980790 | |
| Short hex | None (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 #5B4276 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.45:1 | Pass | Pass | Pass |
| #5B4276 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.45:1 | Pass | Pass | Pass |
| Sample text | 2.49:1 | Fail | Fail | Fail |
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.
#354c78Protanopia
no red cones#3b4d75Deuteranopia
no green cones#574a56Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
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); }
Similar colors
#5c457bIn the Vines#614a7bRoyal Robe#604c81Sumptuous Purple#623b70Heartless#674876Neon Violet#57446aHaunted Candelabra#664488Lords of the Night#4a3b6aMeteorite
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.