#3B226A Color

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

Color preview

#3B226A

Color formats

HEX
#3B226A
RGB
rgb(59, 34, 106)
RGBA
rgba(59, 34, 106, 1)
HSL
hsl(261, 51%, 27%)
HSV
hsv(261, 68%, 42%)
CMYK
cmyk(44%, 68%, 0%, 58%)
CSS variable
--color-primary: #3B226A;
Lowercase HEX
#3b226a

Shades

Tints

Tones

Harmony

CSS snippets for #3B226A

.color-3b226a {
  color: #3B226A;
  background-color: #3B226A;
}

Frequently asked questions

What color is #3B226A?+

#3B226A is a HEX color with RGB value rgb(59, 34, 106) and HSL value hsl(261, 51%, 27%). Its closest CSS named color is MidnightBlue.

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

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