#340740

Dark Purple

HEX

RGB

HSL

About #340740 Dark Purple

#340740 is a dark purple color. In the RGB color model, it is composed of 52 red, 7 green, and 64 blue. In the HSL color space, it has a hue of 287°, saturation of 80%, 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 #340740 in your CSS, SCSS, or Tailwind projects.

Color Properties

287°

Hue

80%

Saturation

14%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#340740 on White
Contrast Ratio16.79:1
AA AA Large AAA
Aa#340740 on Black
Contrast Ratio1.25:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #340740 across different color formats.

FormatValue
HEX#340740
RGBrgb(52, 7, 64)
HSLhsl(287, 80%, 14%)
RGB Decimal52, 7, 64
RGB Percent20.4%, 2.7%, 25.1%
CMYK (approx.)19%, 89%, 0%, 75%

Related Palettes

12 palettes using #340740 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
#1E0E25#421C54#5E436B#8647A4
#1B1320#3F224E#603875#7F5596