#512871

Purple

HEX

RGB

HSL

About #512871 Purple

#512871 is a purple color. In the RGB color model, it is composed of 81 red, 40 green, and 113 blue. In the HSL color space, it has a hue of 274°, saturation of 48%, and lightness of 30%.

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

Color Properties

274°

Hue

48%

Saturation

30%

Lightness

Purple

Color Harmonies

Colors that work well with #512871 based on color theory.

Accessibility

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

Aa#512871 on White
Contrast Ratio11.1:1
AA AA Large AAA
Aa#512871 on Black
Contrast Ratio1.89:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #512871 across different color formats.

FormatValue
HEX#512871
RGBrgb(81, 40, 113)
HSLhsl(274, 48%, 30%)
RGB Decimal81, 40, 113
RGB Percent31.8%, 15.7%, 44.3%
CMYK (approx.)28%, 65%, 0%, 56%

Related Palettes

12 palettes using #512871 or similar colors

#160A29#2F2046#452574#5F418B
#503267#865491#B47EB0#CEB0C5
#563267#924F97#BC76AF#D0AFC1
#171023#352B45#4D2F7E#6F5A90
#160E25#32254C#4A307D#6C5991
#1B0E25#3A2947#5A3578#795298
#181221#33214F#4D2B82#6B49A2
#150F24#30264A#47337B#6B5E8D
#1A0D26#392A46#593974#7846A4
#150E25#31254B#4B3A73#6142A9
#140E25#2F264A#44317D#675991
#4F3663#894D99#BD75B9#D6A9C8