#38115F Color Information

Hex color code: #38115F

The hex color #38115F is a deep purple with RGB values of (56, 17, 95) and HSL of (270°, 70%, 22%). It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#38115F
RGB
56, 17, 95
HSL
270°, 70%, 22%
CMYK
41%, 82%, 0%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #38115F; 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 #38115F; background-color: #38115F15; }

Alert / Toast

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

Link / Accent

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

a { color: #38115F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #38115F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 17, 95

Red: 56 / Green: 17 / Blue: 95

HSL

270°, 70%, 22%

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

CMYK

41%, 82%, 0%, 63%

Cyan: 41% / Magenta: 82% / Yellow: 0% / Key: 63%

What color is #38115F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #38115F to RGB:

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

HEX to HSL

Convert #38115F to HSL:

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

HEX to CMYK

Convert #38115F to CMYK:

cmyk(41%, 82%, 0%, 63%)Color Converter →

Color Meaning and Usage

A dramatic purple tone, #38115F has RGB (56, 17, 95) and HSL (270°, 70%, 22%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #38115F is #385F11, creating high-contrast pairings. For softer combinations, try analogous colors like #11115F.

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

Contrast with #38115F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #38115F?

#38115F is a dramatic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #38115F?

#38115F in RGB is (56, 17, 95) - 56 red, 17 green, and 95 blue.

How to use #38115F in CSS?

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

What colors go well with #38115F?

#385F11 (complementary), #11115F (analogous), and #12051E (lighter shade) work well with #38115F.