#381688 Color Information

Hex color code: #381688

#381688 is a dynamic purple color. In RGB it is (56, 22, 136), and in HSL it is (258°, 72%, 31%). It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#381688
RGB
56, 22, 136
HSL
258°, 72%, 31%
CMYK
59%, 84%, 0%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #381688; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 22, 136

Red: 56 / Green: 22 / Blue: 136

HSL

258°, 72%, 31%

Hue: 258° / Saturation: 72% / Lightness: 31%

CMYK

59%, 84%, 0%, 47%

Cyan: 59% / Magenta: 84% / Yellow: 0% / Key: 47%

What color is #381688?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #381688 to RGB:

rgb(56, 22, 136)HEX to RGB Converter →

HEX to HSL

Convert #381688 to HSL:

hsl(258, 72%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #381688 to CMYK:

cmyk(59%, 84%, 0%, 47%)Color Converter →

Color Meaning and Usage

A eye-catching purple tone, #381688 has RGB (56, 22, 136) and HSL (258°, 72%, 31%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #381688 is #668816, creating high-contrast pairings. For softer combinations, try analogous colors like #162D88.

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

Contrast with #381688

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #381688?

#381688 is a eye-catching purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #381688?

#381688 in RGB is (56, 22, 136) - 56 red, 22 green, and 136 blue.

How to use #381688 in CSS?

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

What colors go well with #381688?

#668816 (complementary), #162D88 (analogous), and #1D0B46 (lighter shade) work well with #381688.