#5126FD Color

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

Color preview

#5126FD

Color formats

HEX
#5126FD
RGB
rgb(81, 38, 253)
RGBA
rgba(81, 38, 253, 1)
HSL
hsl(252, 98%, 57%)
HSV
hsv(252, 85%, 99%)
CMYK
cmyk(68%, 85%, 0%, 1%)
CSS variable
--color-primary: #5126FD;
Lowercase HEX
#5126fd

Shades

Tints

Tones

Harmony

CSS snippets for #5126FD

.color-5126fd {
  color: #5126FD;
  background-color: #5126FD;
}

Frequently asked questions

What color is #5126FD?+

#5126FD is a HEX color with RGB value rgb(81, 38, 253) and HSL value hsl(252, 98%, 57%). Its closest CSS named color is BlueViolet.

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

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