#2A0D7F Color

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

Color preview

#2A0D7F

Color formats

HEX
#2A0D7F
RGB
rgb(42, 13, 127)
RGBA
rgba(42, 13, 127, 1)
HSL
hsl(255, 81%, 27%)
HSV
hsv(255, 90%, 50%)
CMYK
cmyk(67%, 90%, 0%, 50%)
CSS variable
--color-primary: #2A0D7F;
Lowercase HEX
#2a0d7f

Shades

Tints

Tones

Harmony

CSS snippets for #2A0D7F

.color-2a0d7f {
  color: #2A0D7F;
  background-color: #2A0D7F;
}

Frequently asked questions

What color is #2A0D7F?+

#2A0D7F is a HEX color with RGB value rgb(42, 13, 127) and HSL value hsl(255, 81%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #2A0D7F?+

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