#332782 Color Information

Hex color code: #332782

#332782 is a tranquil blue color. In RGB it is (51, 39, 130), and in HSL it is (248°, 54%, 33%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#332782
RGB
51, 39, 130
HSL
248°, 54%, 33%
CMYK
61%, 70%, 0%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #332782; 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 #332782; background-color: #33278215; }

Alert / Toast

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

Link / Accent

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

a { color: #332782; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 39, 130

Red: 51 / Green: 39 / Blue: 130

HSL

248°, 54%, 33%

Hue: 248° / Saturation: 54% / Lightness: 33%

CMYK

61%, 70%, 0%, 49%

Cyan: 61% / Magenta: 70% / Yellow: 0% / Key: 49%

What color is #332782?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #332782 to RGB:

rgb(51, 39, 130)HEX to RGB Converter →

HEX to HSL

Convert #332782 to HSL:

hsl(248, 54%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #332782 to CMYK:

cmyk(61%, 70%, 0%, 49%)Color Converter →

Color Meaning and Usage

A serene blue tone, #332782 has RGB (51, 39, 130) and HSL (248°, 54%, 33%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #332782 is #758227, creating high-contrast pairings. For softer combinations, try analogous colors like #274882.

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

Contrast with #332782

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #332782?

#332782 is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #332782?

#332782 in RGB is (51, 39, 130) - 51 red, 39 green, and 130 blue.

How to use #332782 in CSS?

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

What colors go well with #332782?

#758227 (complementary), #274882 (analogous), and #1C1547 (lighter shade) work well with #332782.