#5128A4

Purple

HEX

RGB

HSL

About #5128A4 Purple

#5128A4 is a purple color. In the RGB color model, it is composed of 81 red, 40 green, and 164 blue. In the HSL color space, it has a hue of 260°, saturation of 61%, and lightness of 40%.

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

Color Properties

260°

Hue

61%

Saturation

40%

Lightness

Purple

Color Harmonies

Colors that work well with #5128A4 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #5128A4 against white and black backgrounds.

Aa#5128A4 on White
Contrast Ratio9.59:1
AA AA Large AAA
Aa#5128A4 on Black
Contrast Ratio2.19:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5128A4 across different color formats.

FormatValue
HEX#5128A4
RGBrgb(81, 40, 164)
HSLhsl(260, 61%, 40%)
RGB Decimal81, 40, 164
RGB Percent31.8%, 15.7%, 64.3%
CMYK (approx.)51%, 76%, 0%, 36%

Related Palettes

12 palettes using #5128A4 or similar colors

#4E23A9#C03BDD#E87DC6#F4BDC7
#581FAD#D531E8#E77EBD#F3BEC4
#141122#22184E#3E3564#432F9D
#3A27A5#A734E4#E67FD6#F4BED1
#3B1FAD#AD3BDE#E97CD3#F4BDCE
#3A20AC#AB38E0#EC79D7#F2BFCF
#111023#242051#362F7E#473EAD
#3628A4#A037E2#E184D6#F1C1D3
#F99417#F2BE22#EEEDED#5D3891
#4615B7#BC3CDC#E184C5#F4BDC8
#3425A7#9F3CDC#E184D6#F6BCD2
#5022C3#B045DE#E779DA#F0ADCC