#542C99 color

#542C99 rgb(84, 44, 153)
Shades of purple

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
RGBrgb(84, 44, 153)
RGB percentrgb(32.9%, 17.3%, 60%)
HSLhsl(262, 55%, 39%)
HSV / HSBhsv(262, 71%, 60%)
CMYKcmyk(45%, 71%, 0%, 40%)
CIE LABlab(29.38, 42.83, -52.97)
CIE LCHlch(29.38, 68.12, 308.96)
CIE XYZxyz(10.305, 5.986, 30.743)
Decimal5516441
Short hexNone (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 #542C99RatioAAAAAAA large
Sample text2.2:1FailFailFail
Sample text9.56:1PassPassPass
#542C99 as text onRatioAAAAAAA large
Sample text9.56:1PassPassPass
Sample text2.2: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 #542C99 looks to people with the most common types of color vision deficiency.

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); }
Background
Text color
Border

Similar colors

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.