#391854 Color Information

Hex color code: #391854

The hex color #391854 is a dark purple with RGB values of (57, 24, 84) and HSL of (273°, 56%, 21%). It is often used for branding and logos.

Try:
Color NameIndigo
HEX
#391854
RGB
57, 24, 84
HSL
273°, 56%, 21%
CMYK
32%, 71%, 0%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #391854; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

57, 24, 84

Red: 57 / Green: 24 / Blue: 84

HSL

273°, 56%, 21%

Hue: 273° / Saturation: 56% / Lightness: 21%

CMYK

32%, 71%, 0%, 67%

Cyan: 32% / Magenta: 71% / Yellow: 0% / Key: 67%

What color is #391854?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #391854 to RGB:

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

HEX to HSL

Convert #391854 to HSL:

hsl(273, 56%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #391854 to CMYK:

cmyk(32%, 71%, 0%, 67%)Color Converter →

Color Meaning and Usage

#391854 is a dark purple color with RGB values of 57, 24, 84 and HSL of 273°, 56%, 21%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #391854 is #335418, creating high-contrast pairings. For softer combinations, try analogous colors like #1B1854.

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

Contrast with #391854

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #391854?

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

What is the RGB value of #391854?

#391854 in RGB is (57, 24, 84) - 57 red, 24 green, and 84 blue.

How to use #391854 in CSS?

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

What colors go well with #391854?

#335418 (complementary), #1B1854 (analogous), and #100718 (lighter shade) work well with #391854.