#381173 Color Information

Hex color code: #381173

The hex color #381173 is a bold purple with RGB values of (56, 17, 115) and HSL of (264°, 74%, 26%). It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#381173
RGB
56, 17, 115
HSL
264°, 74%, 26%
CMYK
51%, 85%, 0%, 55%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #381173; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 17, 115

Red: 56 / Green: 17 / Blue: 115

HSL

264°, 74%, 26%

Hue: 264° / Saturation: 74% / Lightness: 26%

CMYK

51%, 85%, 0%, 55%

Cyan: 51% / Magenta: 85% / Yellow: 0% / Key: 55%

What color is #381173?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #381173 to RGB:

rgb(56, 17, 115)HEX to RGB Converter →

HEX to HSL

Convert #381173 to HSL:

hsl(264, 74%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #381173 to CMYK:

cmyk(51%, 85%, 0%, 55%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #381173 has RGB (56, 17, 115) and HSL (264°, 74%, 26%). Known for evoking creativity and luxury, this blue-purple hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #381173 is #4C7311, creating high-contrast pairings. For softer combinations, try analogous colors like #111B73.

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

Contrast with #381173

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #381173?

#381173 is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #381173?

#381173 in RGB is (56, 17, 115) - 56 red, 17 green, and 115 blue.

How to use #381173 in CSS?

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

What colors go well with #381173?

#4C7311 (complementary), #111B73 (analogous), and #180731 (lighter shade) work well with #381173.