#2A1240

Dark Purple

HEX

RGB

HSL

About #2A1240 Dark Purple

#2A1240 is a dark purple color. In the RGB color model, it is composed of 42 red, 18 green, and 64 blue. In the HSL color space, it has a hue of 271°, saturation of 56%, and lightness of 16%.

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 #2A1240 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

271°

Hue

56%

Saturation

16%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#2A1240 on White
Contrast Ratio16.68:1
AA AA Large AAA
Aa#2A1240 on Black
Contrast Ratio1.26:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #2A1240 across different color formats.

FormatValue
HEX#2A1240
RGBrgb(42, 18, 64)
HSLhsl(271, 56%, 16%)
RGB Decimal42, 18, 64
RGB Percent16.5%, 7.1%, 25.1%
CMYK (approx.)34%, 72%, 0%, 75%

Related Palettes

12 palettes using #2A1240 or similar colors

#160A29#2F2046#452574#5F418B
#141122#22184E#3E3564#432F9D
#121122#252343#373465#484488
#111222#1F2247#323767#3B4291
#131122#26214F#372F7F#5C5695
#110F24#29244C#3A327C#5B5397
#161320#2D254B#463A74#553CAE
#140F24#2A1C54#422E7F#5E46A5
#101023#23224E#2D2C82#4442A9
#111023#222050#393677#4742A9
#101323#222744#323967#32409A
#111023#242051#362F7E#473EAD