#270052 Color

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

Color preview

#270052

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #270052

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

Frequently asked questions

What color is #270052?+

#270052 is a HEX color with RGB value rgb(39, 0, 82) and HSL value hsl(269, 100%, 16%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #270052?+

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