#5404A4 color
The hex color #5404A4 is a dark, vivid violet.
In the RGB color model it is made of 32.9% red, 1.6% green and 64.3% blue (84, 4, 164).
Its hue angle is 270°, with 95% saturation and 33% lightness. For print, the CMYK equivalent is 49% cyan, 98% magenta, 0% yellow and 36% black.
The closest named color is Space Battle Blue (#440099), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.88:1).
#5404A4 color codes
| HEX | #5404A4 | |
|---|---|---|
| RGB | rgb(84, 4, 164) | |
| RGB percent | rgb(32.9%, 1.6%, 64.3%) | |
| HSL | hsl(270, 95%, 33%) | |
| HSV / HSB | hsv(270, 98%, 64%) | |
| CMYK | cmyk(49%, 98%, 0%, 36%) | |
| CIE LAB | lab(25.72, 59.32, -65.68) | |
| CIE LCH | lch(25.72, 88.5, 312.09) | |
| CIE XYZ | xyz(10.399, 4.652, 35.465) | |
| Decimal | 5506212 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5404A4, 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 #5404A4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.88:1 | Pass | Pass | Pass |
| #5404A4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.88:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #5404A4 looks to people with the most common types of color vision deficiency.
#003ea8Protanopia
no red cones#003ba1Deuteranopia
no green cones#3c3f5fTritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #5404a4; }
.text { color: #5404a4; }
.border { border: 2px solid #5404a4; }
.transparent { background-color: rgb(84 4 164 / 50%); }
.gradient { background: linear-gradient(to right, #5404a4, #a404a4); }
Similar colors
#440099Space Battle Blue#63209bWild Violet#4b0183Indigo Static#3311bbGalactic Highway#5b1e8bIntergalactic Settlement#4b0082Indigo#5511ccSea Serpent’s Tears#661188Extraviolet
Questions
- What color is #5404A4?
- #5404A4 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 #5404A4?
- The RGB value is 84, 4, 164: 84 red, 4 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of #5404A4?
- The complementary color is #54A404, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5404A4?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.88:1. WCAG asks for at least 4.5:1 for normal text.