#5128CC

Purple

HEX

RGB

HSL

About #5128CC Purple

#5128CC is a purple color. In the RGB color model, it is composed of 81 red, 40 green, and 204 blue. In the HSL color space, it has a hue of 255°, saturation of 67%, and lightness of 48%.

This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #5128CC in your CSS, SCSS, or Tailwind projects.

Color Properties

255°

Hue

67%

Saturation

48%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#5128CC on White
Contrast Ratio8.32:1
AA AA Large AAA
Aa#5128CC on Black
Contrast Ratio2.53:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #5128CC across different color formats.

FormatValue
HEX#5128CC
RGBrgb(81, 40, 204)
HSLhsl(255, 67%, 48%)
RGB Decimal81, 40, 204
RGB Percent31.8%, 15.7%, 80.0%
CMYK (approx.)60%, 80%, 0%, 20%

Related Palettes

12 palettes using #5128CC or similar colors

#5022C3#B045DE#E779DA#F0ADCC
#5322C3#B345DE#E779D9#F0ADCB
#4022C3#A145DE#E779E5#F0ADD3
#4126D9#A352E0#E67DE8#F0A8D3
#3D22C3#9E45DE#E779E7#F0ADD4
#3E26D9#A052E0#E47DE8#F0A8D4
#3B22C3#9C45DE#E579E7#F0ADD5
#155BB7#493FD9#B982E3#F3BEF0
#1D52AF#5844D4#C081E4#F5BCEE
#3522C3#9645DE#E279E7#F0ADD8
#0EB1F1#0138FE#5319E6#C10DF2
#1B54B1#4731E7#C176EF#F0C1EB