#7042DB Color

Inspect #7042DB across formats, palettes, contrast and closest named color matches.

Color preview

#7042DB

Color formats

HEX
#7042DB
RGB
rgb(112, 66, 219)
RGBA
rgba(112, 66, 219, 1)
HSL
hsl(258, 68%, 56%)
HSV
hsv(258, 70%, 86%)
CMYK
cmyk(49%, 70%, 0%, 14%)
CSS variable
--color-primary: #7042DB;
Lowercase HEX
#7042db

Shades

Tints

Tones

Harmony

CSS snippets for #7042DB

.color-7042db {
  color: #7042DB;
  background-color: #7042DB;
}

Frequently asked questions

What color is #7042DB?+

#7042DB is a HEX color with RGB value rgb(112, 66, 219) and HSL value hsl(258, 68%, 56%). Its closest CSS named color is SlateBlue.

What is the closest Tailwind color to #7042DB?+

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