#5B4B86 color
The hex color #5B4B86 is a desaturated violet.
In the RGB color model it is made of 35.7% red, 29.4% green and 52.5% blue (91, 75, 134).
Its hue angle is 256°, with 28% saturation and 41% lightness. For print, the CMYK equivalent is 32% cyan, 44% magenta, 0% yellow and 47% black.
The closest named color is Sumptuous Purple (#604C81), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.51:1).
#5B4B86 color codes
| HEX | #5B4B86 | |
|---|---|---|
| RGB | rgb(91, 75, 134) | |
| RGB percent | rgb(35.7%, 29.4%, 52.5%) | |
| HSL | hsl(256, 28%, 41%) | |
| HSV / HSB | hsv(256, 44%, 53%) | |
| CMYK | cmyk(32%, 44%, 0%, 47%) | |
| CIE LAB | lab(35.94, 20.75, -30.75) | |
| CIE LCH | lch(35.94, 37.1, 304.02) | |
| CIE XYZ | xyz(11.132, 8.977, 23.696) | |
| Decimal | 5983110 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B4B86, 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 #5B4B86 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.51:1 | Pass | Pass | Pass |
| #5B4B86 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.51:1 | Pass | Pass | Pass |
| Sample text | 2.8: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 #5B4B86 looks to people with the most common types of color vision deficiency.
#395588Protanopia
no red cones#3c5485Deuteranopia
no green cones#525662Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #5b4b86; }
.text { color: #5b4b86; }
.border { border: 2px solid #5b4b86; }
.transparent { background-color: rgb(91 75 134 / 50%); }
.gradient { background: linear-gradient(to right, #5b4b86, #794b86); }
Similar colors
#604c81Sumptuous Purple#5c5083Freshly Purpleized#5c457bIn the Vines#614a7bRoyal Robe#664488Lords of the Night#5b4276Drifting Violet#50507fTangent Periwinkle#4e518bTwilight
Closest common color name: Dark Slate Blue.
Questions
- What color is #5B4B86?
- #5B4B86 is a desaturated violet, closest to the named color Sumptuous Purple. It belongs to the purple family of colors.
- What is the RGB value of #5B4B86?
- The RGB value is 91, 75, 134: 91 red, 75 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #5B4B86?
- The complementary color is #76864B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B4B86?
- White text. Black text has a contrast ratio of 2.8:1 and white text 7.51:1. WCAG asks for at least 4.5:1 for normal text.