#542A9D

Purple

HEX

RGB

HSL

About #542A9D Purple

#542A9D is a purple color. In the RGB color model, it is composed of 84 red, 42 green, and 157 blue. In the HSL color space, it has a hue of 262°, saturation of 58%, and lightness of 39%.

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 #542A9D in your CSS, SCSS, or Tailwind projects.

Color Properties

262°

Hue

58%

Saturation

39%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#542A9D on White
Contrast Ratio9.57:1
AA AA Large AAA
Aa#542A9D on Black
Contrast Ratio2.2:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #542A9D across different color formats.

FormatValue
HEX#542A9D
RGBrgb(84, 42, 157)
HSLhsl(262, 58%, 39%)
RGB Decimal84, 42, 157
RGB Percent32.9%, 16.5%, 61.6%
CMYK (approx.)46%, 73%, 0%, 38%

Related Palettes

12 palettes using #542A9D or similar colors

#4E23A9#C03BDD#E87DC6#F4BDC7
#141122#22184E#3E3564#432F9D
#581FAD#D531E8#E77EBD#F3BEC4
#F99417#F2BE22#EEEDED#5D3891
#3A27A5#A734E4#E67FD6#F4BED1
#1C1C1C#533483#6F3DC2#EB5B00
#181221#33214F#4D2B82#6B49A2
#111023#242051#362F7E#473EAD
#0C134F#1D267D#5C469C#D4ADFC
#3628A4#A037E2#E184D6#F1C1D3
#160A29#2F2046#452574#5F418B
#3A20AC#AB38E0#EC79D7#F2BFCF