#54218A color
The hex color #54218A is a dark, moderate violet.
In the RGB color model it is made of 32.9% red, 12.9% green and 54.1% blue (84, 33, 138).
Its hue angle is 269°, with 61% saturation and 34% lightness. For print, the CMYK equivalent is 39% cyan, 76% magenta, 0% yellow and 46% black.
The closest named color is Intergalactic Settlement (#5B1E8B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.71:1).
#54218A color codes
| HEX | #54218A | |
|---|---|---|
| RGB | rgb(84, 33, 138) | |
| RGB percent | rgb(32.9%, 12.9%, 54.1%) | |
| HSL | hsl(269, 61%, 34%) | |
| HSV / HSB | hsv(269, 76%, 54%) | |
| CMYK | cmyk(39%, 76%, 0%, 46%) | |
| CIE LAB | lab(26.18, 44.27, -48.93) | |
| CIE LCH | lch(26.18, 65.99, 312.14) | |
| CIE XYZ | xyz(8.786, 4.807, 24.505) | |
| Decimal | 5513610 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #54218A, 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 #54218A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.96:1 | Fail | Fail | Fail |
| Sample text | 10.71:1 | Pass | Pass | Pass |
| #54218A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.71:1 | Pass | Pass | Pass |
| Sample text | 1.96: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 #54218A looks to people with the most common types of color vision deficiency.
#003d8dProtanopia
no red cones#003d88Deuteranopia
no green cones#483c54Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #54218a; }
.text { color: #54218a; }
.border { border: 2px solid #54218a; }
.transparent { background-color: rgb(84 33 138 / 50%); }
.gradient { background: linear-gradient(to right, #54218a, #88218a); }
Similar colors
#5b1e8bIntergalactic Settlement#4b1e87Occult#572e89Night Fever#442288Galactic Civilization#5c2e88Purple Patch#63209bWild Violet#662288Sapphire Siren#632f92Lucid Dreams
Closest common color name: Indigo.
Questions
- What color is #54218A?
- #54218A is a dark, moderate violet, closest to the named color Intergalactic Settlement. It belongs to the purple family of colors.
- What is the RGB value of #54218A?
- The RGB value is 84, 33, 138: 84 red, 33 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #54218A?
- The complementary color is #578A21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #54218A?
- White text. Black text has a contrast ratio of 1.96:1 and white text 10.71:1. WCAG asks for at least 4.5:1 for normal text.