#340840

Dark Purple

HEX

RGB

HSL

About #340840 Dark Purple

#340840 is a dark purple color. In the RGB color model, it is composed of 52 red, 8 green, and 64 blue. In the HSL color space, it has a hue of 287°, saturation of 78%, and lightness of 14%.

This color has a low lightness value, making it a dark color great for text and bold accents. With high saturation, it appears vibrant and eye-catching.

CSS Code

Use #340840 in your CSS, SCSS, or Tailwind projects.

Color Properties

287°

Hue

78%

Saturation

14%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #340840 based on color theory.

Accessibility

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

Aa#340840 on White
Contrast Ratio16.74:1
AA AA Large AAA
Aa#340840 on Black
Contrast Ratio1.25:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #340840 across different color formats.

FormatValue
HEX#340840
RGBrgb(52, 8, 64)
HSLhsl(287, 78%, 14%)
RGB Decimal52, 8, 64
RGB Percent20.4%, 3.1%, 25.1%
CMYK (approx.)19%, 88%, 0%, 75%

Related Palettes

12 palettes using #340840 or similar colors

#160A29#2F2046#452574#5F418B
#141122#22184E#3E3564#432F9D
#250B28#4B1452#682A6F#922E9E
#180D26#361E52#554469#7043A8
#181221#33214F#4D2B82#6B49A2
#1A1320#3B2050#59426C#795A90
#160E25#32234D#503F6E#694D9E
#1C0F24#3D214F#5B416C#7E4C9F
#121122#252343#373465#484488
#1C1023#3E2150#5C406D#7C5991
#1B1320#3F224E#603875#7F5596
#1E0E25#421C54#5E436B#8647A4