#381B55 Color Information

Hex color code: #381B55

A rich purple shade, #381B55 appears as (56, 27, 85) in RGB and (270°, 52%, 22%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#381B55
RGB
56, 27, 85
HSL
270°, 52%, 22%
CMYK
34%, 68%, 0%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #381B55; 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 #381B55; background-color: #381B5515; }

Alert / Toast

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

Link / Accent

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

a { color: #381B55; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #381B55 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 27, 85

Red: 56 / Green: 27 / Blue: 85

HSL

270°, 52%, 22%

Hue: 270° / Saturation: 52% / Lightness: 22%

CMYK

34%, 68%, 0%, 67%

Cyan: 34% / Magenta: 68% / Yellow: 0% / Key: 67%

What color is #381B55?

#381B55 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #381B55 to RGB:

rgb(56, 27, 85)HEX to RGB Converter →

HEX to HSL

Convert #381B55 to HSL:

hsl(270, 52%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #381B55 to CMYK:

cmyk(34%, 68%, 0%, 67%)Color Converter →

Color Meaning and Usage

A dark purple tone, #381B55 has RGB (56, 27, 85) and HSL (270°, 52%, 22%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #381B55 is #38551B, creating high-contrast pairings. For softer combinations, try analogous colors like #1B1B55.

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

Contrast with #381B55

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #381B55?

#381B55 is a dark purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #381B55?

#381B55 in RGB is (56, 27, 85) - 56 red, 27 green, and 85 blue.

How to use #381B55 in CSS?

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

What colors go well with #381B55?

#38551B (complementary), #1B1B55 (analogous), and #12091B (lighter shade) work well with #381B55.