#5126DF Color

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

Color preview

#5126DF

Color formats

HEX
#5126DF
RGB
rgb(81, 38, 223)
RGBA
rgba(81, 38, 223, 1)
HSL
hsl(254, 74%, 51%)
HSV
hsv(254, 83%, 87%)
CMYK
cmyk(64%, 83%, 0%, 13%)
CSS variable
--color-primary: #5126DF;
Lowercase HEX
#5126df

Shades

Tints

Tones

Harmony

CSS snippets for #5126DF

.color-5126df {
  color: #5126DF;
  background-color: #5126DF;
}

Frequently asked questions

What color is #5126DF?+

#5126DF is a HEX color with RGB value rgb(81, 38, 223) and HSL value hsl(254, 74%, 51%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #5126DF?+

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