#420AFA Color

Inspect #420AFA across formats, palettes, contrast and closest named color matches.

Color preview

#420AFA

Color formats

HEX
#420AFA
RGB
rgb(66, 10, 250)
RGBA
rgba(66, 10, 250, 1)
HSL
hsl(254, 96%, 51%)
HSV
hsv(254, 96%, 98%)
CMYK
cmyk(74%, 96%, 0%, 2%)
CSS variable
--color-primary: #420AFA;
Lowercase HEX
#420afa

Shades

Tints

Tones

Harmony

CSS snippets for #420AFA

.color-420afa {
  color: #420AFA;
  background-color: #420AFA;
}

Frequently asked questions

What color is #420AFA?+

#420AFA is a HEX color with RGB value rgb(66, 10, 250) and HSL value hsl(254, 96%, 51%). Its closest CSS named color is Blue.

What is the closest Tailwind color to #420AFA?+

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