#331B81

Purple

HEX

RGB

HSL

About #331B81 Purple

#331B81 is a purple color. In the RGB color model, it is composed of 51 red, 27 green, and 129 blue. In the HSL color space, it has a hue of 254°, saturation of 65%, and lightness of 31%.

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 & Gradients

Use #331B81 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

254°

Hue

65%

Saturation

31%

Lightness

Purple

Color Harmonies

Colors that work well with #331B81 based on color theory.

Accessibility

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

Aa#331B81 on White
Contrast Ratio13.01:1
AA AA Large AAA
Aa#331B81 on Black
Contrast Ratio1.61:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #331B81 across different color formats.

FormatValue
HEX#331B81
RGBrgb(51, 27, 129)
HSLhsl(254, 65%, 31%)
RGB Decimal51, 27, 129
RGB Percent20.0%, 10.6%, 50.6%
CMYK (approx.)60%, 79%, 0%, 49%

Related Palettes

12 palettes using #331B81 or similar colors

#101023#23224E#2D2C82#4442A9
#111023#242051#362F7E#473EAD
#131122#26214F#372F7F#5C5695
#131320#2B2B45#30307E#4949A1
#161320#302947#422D80#5F48A3
#140F24#2A1C54#422E7F#5E46A5
#160A29#2F2046#452574#5F418B
#0E0F25#161850#272A72#353997
#111222#1F2251#30337E#494EA1
#110F24#29244C#3A327C#5B5397
#0C134F#1D267D#5C469C#D4ADFC
#140E25#2F264A#44317D#675991