#5122DD Color

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

Color preview

#5122DD

Color formats

HEX
#5122DD
RGB
rgb(81, 34, 221)
RGBA
rgba(81, 34, 221, 1)
HSL
hsl(255, 73%, 50%)
HSV
hsv(255, 85%, 87%)
CMYK
cmyk(63%, 85%, 0%, 13%)
CSS variable
--color-primary: #5122DD;
Lowercase HEX
#5122dd

Shades

Tints

Tones

Harmony

CSS snippets for #5122DD

.color-5122dd {
  color: #5122DD;
  background-color: #5122DD;
}

Frequently asked questions

What color is #5122DD?+

#5122DD is a HEX color with RGB value rgb(81, 34, 221) and HSL value hsl(255, 73%, 50%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5122DD?+

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