#340052 Color

Inspect #340052 across formats, palettes, contrast and closest named color matches.

Color preview

#340052

Color formats

HEX
#340052
RGB
rgb(52, 0, 82)
RGBA
rgba(52, 0, 82, 1)
HSL
hsl(278, 100%, 16%)
HSV
hsv(278, 100%, 32%)
CMYK
cmyk(37%, 100%, 0%, 68%)
CSS variable
--color-primary: #340052;
Lowercase HEX
#340052

Shades

Tints

Tones

Harmony

CSS snippets for #340052

.color-340052 {
  color: #340052;
  background-color: #340052;
}

Frequently asked questions

What color is #340052?+

#340052 is a HEX color with RGB value rgb(52, 0, 82) and HSL value hsl(278, 100%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #340052?+

The closest Tailwind color is purple-950, available as the bg-purple-950 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools