#40317D Color

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

Color preview

#40317D

Color formats

HEX
#40317D
RGB
rgb(64, 49, 125)
RGBA
rgba(64, 49, 125, 1)
HSL
hsl(252, 44%, 34%)
HSV
hsv(252, 61%, 49%)
CMYK
cmyk(49%, 61%, 0%, 51%)
CSS variable
--color-primary: #40317D;
Lowercase HEX
#40317d

Shades

Tints

Tones

Harmony

CSS snippets for #40317D

.color-40317d {
  color: #40317D;
  background-color: #40317D;
}

Frequently asked questions

What color is #40317D?+

#40317D is a HEX color with RGB value rgb(64, 49, 125) and HSL value hsl(252, 44%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #40317D?+

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