#391877 Color Information

Hex color code: #391877

#391877 is a cool purple color. In RGB it is (57, 24, 119), and in HSL it is (261°, 66%, 28%). It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#391877
RGB
57, 24, 119
HSL
261°, 66%, 28%
CMYK
52%, 80%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #391877; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

57, 24, 119

Red: 57 / Green: 24 / Blue: 119

HSL

261°, 66%, 28%

Hue: 261° / Saturation: 66% / Lightness: 28%

CMYK

52%, 80%, 0%, 53%

Cyan: 52% / Magenta: 80% / Yellow: 0% / Key: 53%

What color is #391877?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #391877 to RGB:

rgb(57, 24, 119)HEX to RGB Converter →

HEX to HSL

Convert #391877 to HSL:

hsl(261, 66%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #391877 to CMYK:

cmyk(52%, 80%, 0%, 53%)Color Converter →

Color Meaning and Usage

A serene purple tone, #391877 has RGB (57, 24, 119) and HSL (261°, 66%, 28%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #391877 is #567718, creating high-contrast pairings. For softer combinations, try analogous colors like #182677.

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

Contrast with #391877

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #391877?

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

What is the RGB value of #391877?

#391877 in RGB is (57, 24, 119) - 57 red, 24 green, and 119 blue.

How to use #391877 in CSS?

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

What colors go well with #391877?

#567718 (complementary), #182677 (analogous), and #1B0B37 (lighter shade) work well with #391877.