Royalty color: hex code #5930A9

#5930A9 rgb(89, 48, 169)
Shades of purple

Royalty has the hex code #5930A9. It is a moderate violet.

In the RGB color model it is made of 34.9% red, 18.8% green and 66.3% blue (89, 48, 169).

Its hue angle is 260°, with 56% saturation and 43% lightness. For print, the CMYK equivalent is 47% cyan, 72% magenta, 0% yellow and 34% black.

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

Royalty (#5930A9) color codes

HEX#5930A9
RGBrgb(89, 48, 169)
RGB percentrgb(34.9%, 18.8%, 66.3%)
HSLhsl(260, 56%, 43%)
HSV / HSBhsv(260, 72%, 66%)
CMYKcmyk(47%, 72%, 0%, 34%)
CIE LABlab(32.04, 46.09, -58.29)
CIE LCHlch(32.04, 74.32, 308.33)
CIE XYZxyz(12.336, 7.102, 38.249)
Decimal5845161
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Royalty, 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 #5930A9RatioAAAAAAA large
Sample text2.42:1FailFailFail
Sample text8.68:1PassPassPass
#5930A9 as text onRatioAAAAAAA large
Sample text8.68:1PassPassPass
Sample text2.42: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 #5930A9 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5930a9; }
.text { color: #5930a9; }
.border { border: 2px solid #5930a9; }
.transparent { background-color: rgb(89 48 169 / 50%); }
.gradient { background: linear-gradient(to right, #5930a9, #9530a9); }
Background
Text color
Border

Similar colors

See #5930A9 on its hex code page

Questions

What color is #5930A9?
#5930A9 is a moderate violet known as Royalty. It belongs to the purple family of colors.
What is the RGB value of Royalty?
The RGB value is 89, 48, 169: 89 red, 48 green and 169 blue on a 0 to 255 scale.
What is the complementary color of Royalty?
The complementary color is #80A930, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5930A9?
White text. Black text has a contrast ratio of 2.42:1 and white text 8.68:1. WCAG asks for at least 4.5:1 for normal text.