#340F48

Dark Purple

HEX

RGB

HSL

About #340F48 Dark Purple

#340F48 is a dark purple color. In the RGB color model, it is composed of 52 red, 15 green, and 72 blue. In the HSL color space, it has a hue of 279°, saturation of 66%, and lightness of 17%.

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

Color Properties

279°

Hue

66%

Saturation

17%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #340F48 based on color theory.

Accessibility

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

Aa#340F48 on White
Contrast Ratio16.06:1
AA AA Large AAA
Aa#340F48 on Black
Contrast Ratio1.31:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #340F48 across different color formats.

FormatValue
HEX#340F48
RGBrgb(52, 15, 72)
HSLhsl(279, 66%, 17%)
RGB Decimal52, 15, 72
RGB Percent20.4%, 5.9%, 28.2%
CMYK (approx.)28%, 79%, 0%, 72%

Related Palettes

12 palettes using #340F48 or similar colors

#160A29#2F2046#452574#5F418B
#180D26#361E52#554469#7043A8
#181221#33214F#4D2B82#6B49A2
#1A1320#3B2050#59426C#795A90
#160E25#32234D#503F6E#694D9E
#141122#22184E#3E3564#432F9D
#1C0F24#3D214F#5B416C#7E4C9F
#1C1023#3E2150#5C406D#7C5991
#1E0E25#421C54#5E436B#8647A4
#1B1320#3F224E#603875#7F5596
#150F24#30264A#47337B#6B5E8D
#1D1221#431E52#60416C#805D8E