#3A246B Color

Inspect #3A246B across formats, palettes, contrast and closest named color matches.

Color preview

#3A246B

Color formats

HEX
#3A246B
RGB
rgb(58, 36, 107)
RGBA
rgba(58, 36, 107, 1)
HSL
hsl(259, 50%, 28%)
HSV
hsv(259, 66%, 42%)
CMYK
cmyk(46%, 66%, 0%, 58%)
CSS variable
--color-primary: #3A246B;
Lowercase HEX
#3a246b

Shades

Tints

Tones

Harmony

CSS snippets for #3A246B

.color-3a246b {
  color: #3A246B;
  background-color: #3A246B;
}

Frequently asked questions

What color is #3A246B?+

#3A246B is a HEX color with RGB value rgb(58, 36, 107) and HSL value hsl(259, 50%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #3A246B?+

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