#542056 color
The hex color #542056 is a dark, desaturated magenta.
In the RGB color model it is made of 32.9% red, 12.5% green and 33.7% blue (84, 32, 86).
Its hue angle is 298°, with 46% saturation and 23% lightness. For print, the CMYK equivalent is 2% cyan, 63% magenta, 0% yellow and 66% black.
The closest named color is Purple Velour (#581A57), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.22:1).
#542056 color codes
| HEX | #542056 | |
|---|---|---|
| RGB | rgb(84, 32, 86) | |
| RGB percent | rgb(32.9%, 12.5%, 33.7%) | |
| HSL | hsl(298, 46%, 23%) | |
| HSV / HSB | hsv(298, 63%, 34%) | |
| CMYK | cmyk(2%, 63%, 0%, 66%) | |
| CIE LAB | lab(22.27, 32.49, -21.74) | |
| CIE LCH | lch(22.27, 39.1, 326.21) | |
| CIE XYZ | xyz(5.852, 3.59, 9.187) | |
| Decimal | 5513302 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #542056, 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 #542056 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.22:1 | Pass | Pass | Pass |
| #542056 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.22:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #542056 looks to people with the most common types of color vision deficiency.
#193158Protanopia
no red cones#2b3854Deuteranopia
no green cones#562737Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #542056; }
.text { color: #542056; }
.border { border: 2px solid #542056; }
.transparent { background-color: rgb(84 32 86 / 50%); }
.gradient { background: linear-gradient(to right, #542056, #56203d); }
Similar colors
#581a57Purple Velour#551155Cosmic Explorer#4a2559Wonka Purple#552367Elegant Purple Gown#431c53Plunged Into Darkness#441144Velvet Cosmos#48295bAcai#4f284bMurasaki
Closest common color name: Byzantium.
Questions
- What color is #542056?
- #542056 is a dark, desaturated magenta, closest to the named color Purple Velour. It belongs to the purple family of colors.
- What is the RGB value of #542056?
- The RGB value is 84, 32, 86: 84 red, 32 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #542056?
- The complementary color is #225620, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #542056?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.22:1. WCAG asks for at least 4.5:1 for normal text.