#170981 Color

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

Color preview

#170981

Color formats

HEX
#170981
RGB
rgb(23, 9, 129)
RGBA
rgba(23, 9, 129, 1)
HSL
hsl(247, 87%, 27%)
HSV
hsv(247, 93%, 51%)
CMYK
cmyk(82%, 93%, 0%, 49%)
CSS variable
--color-primary: #170981;
Lowercase HEX
#170981

Shades

Tints

Tones

Harmony

CSS snippets for #170981

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

Frequently asked questions

What color is #170981?+

#170981 is a HEX color with RGB value rgb(23, 9, 129) and HSL value hsl(247, 87%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #170981?+

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