#5931AB color

#5931AB rgb(89, 49, 171)
Shades of purple

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
RGBrgb(89, 49, 171)
RGB percentrgb(34.9%, 19.2%, 67.1%)
HSLhsl(260, 55%, 43%)
HSV / HSBhsv(260, 71%, 67%)
CMYKcmyk(48%, 71%, 0%, 33%)
CIE LABlab(32.39, 46.13, -58.92)
CIE LCHlch(32.39, 74.83, 308.06)
CIE XYZxyz(12.567, 7.26, 39.259)
Decimal5845419
Short hexNone (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 #5931ABRatioAAAAAAA large
Sample text2.45:1FailFailFail
Sample text8.56:1PassPassPass
#5931AB as text onRatioAAAAAAA large
Sample text8.56:1PassPassPass
Sample text2.45: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 #5931AB looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.