#382D52 Color Information

Hex color code: #382D52

#382D52 is a pastel purple color. In RGB it is (56, 45, 82), and in HSL it is (258°, 29%, 25%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#382D52
RGB
56, 45, 82
HSL
258°, 29%, 25%
CMYK
32%, 45%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #382D52; 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 #382D52; background-color: #382D5215; }

Alert / Toast

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

Link / Accent

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

a { color: #382D52; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #382D52 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 45, 82

Red: 56 / Green: 45 / Blue: 82

HSL

258°, 29%, 25%

Hue: 258° / Saturation: 29% / Lightness: 25%

CMYK

32%, 45%, 0%, 68%

Cyan: 32% / Magenta: 45% / Yellow: 0% / Key: 68%

What color is #382D52?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #382D52 to RGB:

rgb(56, 45, 82)HEX to RGB Converter →

HEX to HSL

Convert #382D52 to HSL:

hsl(258, 29%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #382D52 to CMYK:

cmyk(32%, 45%, 0%, 68%)Color Converter →

Color Meaning and Usage

#382D52 is a soft purple color with RGB values of 56, 45, 82 and HSL of 258°, 29%, 25%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #382D52 is #47522D, creating high-contrast pairings. For softer combinations, try analogous colors like #2D3552.

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

Contrast with #382D52

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #382D52?

#382D52 is a soft purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #382D52?

#382D52 in RGB is (56, 45, 82) - 56 red, 45 green, and 82 blue.

How to use #382D52 in CSS?

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

What colors go well with #382D52?

#47522D (complementary), #2D3552 (analogous), and #171221 (lighter shade) work well with #382D52.