#271D40

Dark Purple

HEX

RGB

HSL

About #271D40 Dark Purple

#271D40 is a dark purple color. In the RGB color model, it is composed of 39 red, 29 green, and 64 blue. In the HSL color space, it has a hue of 257°, saturation of 38%, and lightness of 18%.

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

Beautiful Gradients

Color Properties

257°

Hue

38%

Saturation

18%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #271D40 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #271D40 against white and black backgrounds.

Aa#271D40 on White
Contrast Ratio15.72:1
AA AA Large AAA
Aa#271D40 on Black
Contrast Ratio1.34:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #271D40 across different color formats.

FormatValue
HEX#271D40
RGBrgb(39, 29, 64)
HSLhsl(257, 38%, 18%)
RGB Decimal39, 29, 64
RGB Percent15.3%, 11.4%, 25.1%
CMYK (approx.)39%, 55%, 0%, 75%

Related Palettes

12 palettes using #271D40 or similar colors

#121122#252343#373465#484488
#160A29#2F2046#452574#5F418B
#111222#1F2247#323767#3B4291
#101323#222744#323967#32409A
#110F24#29244C#3A327C#5B5397
#111522#212945#2B3A6E#435289
#161320#2D254B#463A74#553CAE
#131320#2B2B45#30307E#4949A1
#101023#23224E#2D2C82#4442A9
#131122#26214F#372F7F#5C5695
#141320#2D2948#413A74#5144A6
#140E25#2F264A#44317D#675991