#331D7E

Purple

HEX

RGB

HSL

About #331D7E Purple

#331D7E is a purple color. In the RGB color model, it is composed of 51 red, 29 green, and 126 blue. In the HSL color space, it has a hue of 254°, saturation of 63%, 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 & Gradients

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

Beautiful Gradients

Color Properties

254°

Hue

63%

Saturation

30%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#331D7E on White
Contrast Ratio12.98:1
AA AA Large AAA
Aa#331D7E on Black
Contrast Ratio1.62:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #331D7E across different color formats.

FormatValue
HEX#331D7E
RGBrgb(51, 29, 126)
HSLhsl(254, 63%, 30%)
RGB Decimal51, 29, 126
RGB Percent20.0%, 11.4%, 49.4%
CMYK (approx.)60%, 77%, 0%, 51%

Related Palettes

12 palettes using #331D7E or similar colors

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