#310250 Color

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

Color preview

#310250

Color formats

HEX
#310250
RGB
rgb(49, 2, 80)
RGBA
rgba(49, 2, 80, 1)
HSL
hsl(276, 95%, 16%)
HSV
hsv(276, 98%, 31%)
CMYK
cmyk(39%, 98%, 0%, 69%)
CSS variable
--color-primary: #310250;
Lowercase HEX
#310250

Shades

Tints

Tones

Harmony

CSS snippets for #310250

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

Frequently asked questions

What color is #310250?+

#310250 is a HEX color with RGB value rgb(49, 2, 80) and HSL value hsl(276, 95%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #310250?+

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