#5123DC Color

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

Color preview

#5123DC

Color formats

HEX
#5123DC
RGB
rgb(81, 35, 220)
RGBA
rgba(81, 35, 220, 1)
HSL
hsl(255, 73%, 50%)
HSV
hsv(255, 84%, 86%)
CMYK
cmyk(63%, 84%, 0%, 14%)
CSS variable
--color-primary: #5123DC;
Lowercase HEX
#5123dc

Shades

Tints

Tones

Harmony

CSS snippets for #5123DC

.color-5123dc {
  color: #5123DC;
  background-color: #5123DC;
}

Frequently asked questions

What color is #5123DC?+

#5123DC is a HEX color with RGB value rgb(81, 35, 220) and HSL value hsl(255, 73%, 50%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5123DC?+

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