#2A1F51

Dark Purple

HEX

RGB

HSL

About #2A1F51 Dark Purple

#2A1F51 is a dark purple color. In the RGB color model, it is composed of 42 red, 31 green, and 81 blue. In the HSL color space, it has a hue of 253°, saturation of 45%, and lightness of 22%.

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

Color Properties

253°

Hue

45%

Saturation

22%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #2A1F51 based on color theory.

Accessibility

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

Aa#2A1F51 on White
Contrast Ratio14.86:1
AA AA Large AAA
Aa#2A1F51 on Black
Contrast Ratio1.41:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #2A1F51 across different color formats.

FormatValue
HEX#2A1F51
RGBrgb(42, 31, 81)
HSLhsl(253, 45%, 22%)
RGB Decimal42, 31, 81
RGB Percent16.5%, 12.2%, 31.8%
CMYK (approx.)48%, 62%, 0%, 68%

Related Palettes

12 palettes using #2A1F51 or similar colors

#140F24#2A1C54#422E7F#5E46A5
#131122#26214F#372F7F#5C5695
#111023#242051#362F7E#473EAD
#110F24#29244C#3A327C#5B5397
#111023#222050#393677#4742A9
#101023#23224E#2D2C82#4442A9
#161320#2D254B#463A74#553CAE
#181221#33214F#4D2B82#6B49A2
#160E25#32234D#503F6E#694D9E
#121221#201F51#393875#4C4AA1
#131320#23254D#42436C#4D509D
#150E25#31254B#4B3A73#6142A9