#5412AA color

#5412AA rgb(84, 18, 170)
Shades of purple

The hex color #5412AA is a dark, vivid violet.

In the RGB color model it is made of 32.9% red, 7.1% green and 66.7% blue (84, 18, 170).

Its hue angle is 266°, with 81% saturation and 37% lightness. For print, the CMYK equivalent is 51% cyan, 89% magenta, 0% yellow and 33% black.

The closest named color is Space Battle Blue (#440099), a difference of 3.9 ΔE, a small difference.

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

#5412AA color codes

HEX#5412AA
RGBrgb(84, 18, 170)
RGB percentrgb(32.9%, 7.1%, 66.7%)
HSLhsl(266, 81%, 37%)
HSV / HSBhsv(266, 89%, 67%)
CMYKcmyk(51%, 89%, 0%, 33%)
CIE LABlab(27.35, 57.73, -66.61)
CIE LCHlch(27.35, 88.15, 310.91)
CIE XYZxyz(11.126, 5.219, 38.444)
Decimal5509802
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5412AA, 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 #5412AARatioAAAAAAA large
Sample text2.04:1FailFailFail
Sample text10.27:1PassPassPass
#5412AA as text onRatioAAAAAAA large
Sample text10.27:1PassPassPass
Sample text2.04: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 #5412AA looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5412aa; }
.text { color: #5412aa; }
.border { border: 2px solid #5412aa; }
.transparent { background-color: rgb(84 18 170 / 50%); }
.gradient { background: linear-gradient(to right, #5412aa, #a012aa); }
Background
Text color
Border

Similar colors

Closest common color name: Indigo.

Questions

What color is #5412AA?
#5412AA is a dark, vivid violet, closest to the named color Space Battle Blue. It belongs to the purple family of colors.
What is the RGB value of #5412AA?
The RGB value is 84, 18, 170: 84 red, 18 green and 170 blue on a 0 to 255 scale.
What is the complementary color of #5412AA?
The complementary color is #68AA12, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5412AA?
White text. Black text has a contrast ratio of 2.04:1 and white text 10.27:1. WCAG asks for at least 4.5:1 for normal text.