#331F42

Dark Purple

HEX

RGB

HSL

About #331F42 Dark Purple

#331F42 is a dark purple color. In the RGB color model, it is composed of 51 red, 31 green, and 66 blue. In the HSL color space, it has a hue of 274°, saturation of 36%, and lightness of 19%.

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

Color Properties

274°

Hue

36%

Saturation

19%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#331F42 on White
Contrast Ratio14.84:1
AA AA Large AAA
Aa#331F42 on Black
Contrast Ratio1.42:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #331F42 across different color formats.

FormatValue
HEX#331F42
RGBrgb(51, 31, 66)
HSLhsl(274, 36%, 19%)
RGB Decimal51, 31, 66
RGB Percent20.0%, 12.2%, 25.9%
CMYK (approx.)23%, 53%, 0%, 74%

Related Palettes

12 palettes using #331F42 or similar colors

#160A29#2F2046#452574#5F418B
#171023#332848#503F6E#694D9E
#150F24#30264A#47337B#6B5E8D
#161320#302947#422D80#5F48A3
#160E25#32234D#503F6E#694D9E
#1A1023#39264A#57416C#774C9F
#171023#352B45#4D2F7E#6F5A90
#191221#382A46#56436A#745398
#140D26#332C44#4C3C72#6347A4
#181221#33214F#4D2B82#6B49A2
#121122#252343#373465#484488
#131320#2B2B45#30307E#4949A1