#3D1F8E Color

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

Color preview

#3D1F8E

Color formats

HEX
#3D1F8E
RGB
rgb(61, 31, 142)
RGBA
rgba(61, 31, 142, 1)
HSL
hsl(256, 64%, 34%)
HSV
hsv(256, 78%, 56%)
CMYK
cmyk(57%, 78%, 0%, 44%)
CSS variable
--color-primary: #3D1F8E;
Lowercase HEX
#3d1f8e

Shades

Tints

Tones

Harmony

CSS snippets for #3D1F8E

.color-3d1f8e {
  color: #3D1F8E;
  background-color: #3D1F8E;
}

Frequently asked questions

What color is #3D1F8E?+

#3D1F8E is a HEX color with RGB value rgb(61, 31, 142) and HSL value hsl(256, 64%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #3D1F8E?+

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