#542C99 color
The hex color #542C99 is a moderate violet.
In the RGB color model it is made of 32.9% red, 17.3% green and 60% blue (84, 44, 153).
Its hue angle is 262°, with 55% saturation and 39% lightness. For print, the CMYK equivalent is 45% cyan, 71% magenta, 0% yellow and 40% black.
The closest named color is Galactic Purple (#472E97), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.56:1).
#542C99 color codes
| HEX | #542C99 | |
|---|---|---|
| RGB | rgb(84, 44, 153) | |
| RGB percent | rgb(32.9%, 17.3%, 60%) | |
| HSL | hsl(262, 55%, 39%) | |
| HSV / HSB | hsv(262, 71%, 60%) | |
| CMYK | cmyk(45%, 71%, 0%, 40%) | |
| CIE LAB | lab(29.38, 42.83, -52.97) | |
| CIE LCH | lch(29.38, 68.12, 308.96) | |
| CIE XYZ | xyz(10.305, 5.986, 30.743) | |
| Decimal | 5516441 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #542C99, 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 #542C99 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.2:1 | Fail | Fail | Fail |
| Sample text | 9.56:1 | Pass | Pass | Pass |
| #542C99 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.56:1 | Pass | Pass | Pass |
| Sample text | 2.2: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 #542C99 looks to people with the most common types of color vision deficiency.
#00469cProtanopia
no red cones#004397Deuteranopia
no green cones#41475fTritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #542c99; }
.text { color: #542c99; }
.border { border: 2px solid #542c99; }
.transparent { background-color: rgb(84 44 153 / 50%); }
.gradient { background: linear-gradient(to right, #542c99, #8a2c99); }
Similar colors
#472e97Galactic Purple#5930a9Royalty#572e89Night Fever#573894Ruthless Empress#63209bWild Violet#632f92Lucid Dreams#663399Rebecca Purple#5c2e88Purple Patch
Questions
- What color is #542C99?
- #542C99 is a moderate violet, closest to the named color Galactic Purple. It belongs to the purple family of colors.
- What is the RGB value of #542C99?
- The RGB value is 84, 44, 153: 84 red, 44 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #542C99?
- The complementary color is #71992C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #542C99?
- White text. Black text has a contrast ratio of 2.2:1 and white text 9.56:1. WCAG asks for at least 4.5:1 for normal text.