#270152 Color

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

Color preview

#270152

Color formats

HEX
#270152
RGB
rgb(39, 1, 82)
RGBA
rgba(39, 1, 82, 1)
HSL
hsl(268, 98%, 16%)
HSV
hsv(268, 99%, 32%)
CMYK
cmyk(52%, 99%, 0%, 68%)
CSS variable
--color-primary: #270152;
Lowercase HEX
#270152

Shades

Tints

Tones

Harmony

CSS snippets for #270152

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

Frequently asked questions

What color is #270152?+

#270152 is a HEX color with RGB value rgb(39, 1, 82) and HSL value hsl(268, 98%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #270152?+

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