#542A7E

Purple

HEX

RGB

HSL

About #542A7E Purple

#542A7E is a purple color. In the RGB color model, it is composed of 84 red, 42 green, and 126 blue. In the HSL color space, it has a hue of 270°, saturation of 50%, and lightness of 33%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #542A7E in your CSS, SCSS, or Tailwind projects.

Color Properties

270°

Hue

50%

Saturation

33%

Lightness

Purple

Color Harmonies

Colors that work well with #542A7E based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #542A7E against white and black backgrounds.

Aa#542A7E on White
Contrast Ratio10.45:1
AA AA Large AAA
Aa#542A7E on Black
Contrast Ratio2.01:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #542A7E across different color formats.

FormatValue
HEX#542A7E
RGBrgb(84, 42, 126)
HSLhsl(270, 50%, 33%)
RGB Decimal84, 42, 126
RGB Percent32.9%, 16.5%, 49.4%
CMYK (approx.)33%, 67%, 0%, 51%

Related Palettes

12 palettes using #542A7E or similar colors

#181221#33214F#4D2B82#6B49A2
#171023#352B45#4D2F7E#6F5A90
#1B0D26#3C1D53#5C2C82#795892
#1C1C1C#533483#6F3DC2#EB5B00
#160E25#32254C#4A307D#6C5991
#1B0E25#3A2947#5A3578#795298
#150F24#30264A#47337B#6B5E8D
#140E25#2F264A#44317D#675991
#161320#302947#422D80#5F48A3
#140F24#2A1C54#422E7F#5E46A5
#160A29#2F2046#452574#5F418B
#1A0D26#392A46#593974#7846A4