#401952 Color

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

Color preview

#401952

Color formats

HEX
#401952
RGB
rgb(64, 25, 82)
RGBA
rgba(64, 25, 82, 1)
HSL
hsl(281, 53%, 21%)
HSV
hsv(281, 70%, 32%)
CMYK
cmyk(22%, 70%, 0%, 68%)
CSS variable
--color-primary: #401952;
Lowercase HEX
#401952

Shades

Tints

Tones

Harmony

CSS snippets for #401952

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

Frequently asked questions

What color is #401952?+

#401952 is a HEX color with RGB value rgb(64, 25, 82) and HSL value hsl(281, 53%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #401952?+

The closest Tailwind color is fuchsia-950, available as the bg-fuchsia-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