#290F7E Color

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

Color preview

#290F7E

Color formats

HEX
#290F7E
RGB
rgb(41, 15, 126)
RGBA
rgba(41, 15, 126, 1)
HSL
hsl(254, 79%, 28%)
HSV
hsv(254, 88%, 49%)
CMYK
cmyk(67%, 88%, 0%, 51%)
CSS variable
--color-primary: #290F7E;
Lowercase HEX
#290f7e

Shades

Tints

Tones

Harmony

CSS snippets for #290F7E

.color-290f7e {
  color: #290F7E;
  background-color: #290F7E;
}

Frequently asked questions

What color is #290F7E?+

#290F7E is a HEX color with RGB value rgb(41, 15, 126) and HSL value hsl(254, 79%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #290F7E?+

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