#5931AB color
The hex color #5931AB is a moderate violet.
In the RGB color model it is made of 34.9% red, 19.2% green and 67.1% blue (89, 49, 171).
Its hue angle is 260°, with 55% saturation and 43% lightness. For print, the CMYK equivalent is 48% cyan, 71% magenta, 0% yellow and 33% black.
The closest named color is Royalty (#5930A9), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.56:1).
#5931AB color codes
| HEX | #5931AB | |
|---|---|---|
| RGB | rgb(89, 49, 171) | |
| RGB percent | rgb(34.9%, 19.2%, 67.1%) | |
| HSL | hsl(260, 55%, 43%) | |
| HSV / HSB | hsv(260, 71%, 67%) | |
| CMYK | cmyk(48%, 71%, 0%, 33%) | |
| CIE LAB | lab(32.39, 46.13, -58.92) | |
| CIE LCH | lch(32.39, 74.83, 308.06) | |
| CIE XYZ | xyz(12.567, 7.26, 39.259) | |
| Decimal | 5845419 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5931AB, 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 #5931AB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.56:1 | Pass | Pass | Pass |
| #5931AB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.56:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #5931AB looks to people with the most common types of color vision deficiency.
#004eafProtanopia
no red cones#004aa9Deuteranopia
no green cones#3f506aTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #5931ab; }
.text { color: #5931ab; }
.border { border: 2px solid #5931ab; }
.transparent { background-color: rgb(89 49 171 / 50%); }
.gradient { background: linear-gradient(to right, #5931ab, #9631ab); }
Similar colors
#5930a9Royalty#6633bbPurple Emperor#472e97Galactic Purple#6f2da8Grape#573894Ruthless Empress#663399Rebecca Purple#69359cPurple Heart#63209bWild Violet
Questions
- What color is #5931AB?
- #5931AB is a moderate violet, closest to the named color Royalty. It belongs to the purple family of colors.
- What is the RGB value of #5931AB?
- The RGB value is 89, 49, 171: 89 red, 49 green and 171 blue on a 0 to 255 scale.
- What is the complementary color of #5931AB?
- The complementary color is #83AB31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5931AB?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.56:1. WCAG asks for at least 4.5:1 for normal text.