#340F8A

Purple

HEX

RGB

HSL

About #340F8A Purple

#340F8A is a purple color. In the RGB color model, it is composed of 52 red, 15 green, and 138 blue. In the HSL color space, it has a hue of 258°, saturation of 80%, and lightness of 30%.

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

Color Properties

258°

Hue

80%

Saturation

30%

Lightness

Purple

Color Harmonies

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

Accessibility

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

Aa#340F8A on White
Contrast Ratio13.28:1
AA AA Large AAA
Aa#340F8A on Black
Contrast Ratio1.58:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #340F8A across different color formats.

FormatValue
HEX#340F8A
RGBrgb(52, 15, 138)
HSLhsl(258, 80%, 30%)
RGB Decimal52, 15, 138
RGB Percent20.4%, 5.9%, 54.1%
CMYK (approx.)62%, 89%, 0%, 46%

Related Palettes

12 palettes using #340F8A or similar colors

#111023#242051#362F7E#473EAD
#161320#302947#422D80#5F48A3
#0C134F#1D267D#5C469C#D4ADFC
#131320#2B2B45#30307E#4949A1
#160A29#2F2046#452574#5F418B
#3628A4#A037E2#E184D6#F1C1D3
#3425A7#9F3CDC#E184D6#F6BCD2
#3A27A5#A734E4#E67FD6#F4BED1
#111222#1F2251#30337E#494EA1
#110F24#29244C#3A327C#5B5397
#181221#33214F#4D2B82#6B49A2
#0E0F25#161850#272A72#353997