#332986 Color Information

Hex color code: #332986

A calming blue shade, #332986 appears as (51, 41, 134) in RGB and (246°, 53%, 34%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#332986
RGB
51, 41, 134
HSL
246°, 53%, 34%
CMYK
62%, 69%, 0%, 47%

Shades

CSS Usage
color: #332986;
background-color: #332986;
border-color: #332986;
box-shadow: 0 0 10px #332986;
border: 2px solid #332986;
Tailwind Usage
bg-[#332986]
text-[#332986]
border-[#332986]
shadow-[0_0_10px_332986]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #332986, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #332986; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #332986; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #332986; background-color: #33298615; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #33298620; border-left: 4px solid #332986; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #332986; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #332986 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 41, 134

Red: 51 / Green: 41 / Blue: 134

HSL

246°, 53%, 34%

Hue: 246° / Saturation: 53% / Lightness: 34%

CMYK

62%, 69%, 0%, 47%

Cyan: 62% / Magenta: 69% / Yellow: 0% / Key: 47%

What color is #332986?

#332986 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #332986 to RGB:

rgb(51, 41, 134)HEX to RGB Converter →

HEX to HSL

Convert #332986 to HSL:

hsl(246, 53%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #332986 to CMYK:

cmyk(62%, 69%, 0%, 47%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #332986 has RGB (51, 41, 134) and HSL (246°, 53%, 34%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #332986 is #7B8529, creating high-contrast pairings. For softer combinations, try analogous colors like #294E85.

Use #332986 in CSS: color: #332986 or background-color: #332986. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #332986

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.80:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #332986?

#332986 is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #332986?

#332986 in RGB is (51, 41, 134) - 51 red, 41 green, and 134 blue.

How to use #332986 in CSS?

Use #332986 directly in your CSS properties like color or background-color.

What colors go well with #332986?

#7B8529 (complementary), #294E85 (analogous), and #1C174A (lighter shade) work well with #332986.