#3B0C5F Color Information

Hex color code: #3B0C5F

The hex color #3B0C5F is a dramatic purple with RGB values of (59, 12, 95) and HSL of (274°, 78%, 21%). It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#3B0C5F
RGB
59, 12, 95
HSL
274°, 78%, 21%
CMYK
38%, 87%, 0%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #3B0C5F; 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 #3B0C5F; background-color: #3B0C5F15; }

Alert / Toast

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

Link / Accent

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

a { color: #3B0C5F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3B0C5F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

59, 12, 95

Red: 59 / Green: 12 / Blue: 95

HSL

274°, 78%, 21%

Hue: 274° / Saturation: 78% / Lightness: 21%

CMYK

38%, 87%, 0%, 63%

Cyan: 38% / Magenta: 87% / Yellow: 0% / Key: 63%

What color is #3B0C5F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3B0C5F to RGB:

rgb(59, 12, 95)HEX to RGB Converter →

HEX to HSL

Convert #3B0C5F to HSL:

hsl(274, 78%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #3B0C5F to CMYK:

cmyk(38%, 87%, 0%, 63%)Color Converter →

Color Meaning and Usage

#3B0C5F is a dramatic purple color with RGB values of 59, 12, 95 and HSL of 274°, 78%, 21%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3B0C5F is #305F0C, creating high-contrast pairings. For softer combinations, try analogous colors like #110C5F.

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

Contrast with #3B0C5F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3B0C5F?

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

What is the RGB value of #3B0C5F?

#3B0C5F in RGB is (59, 12, 95) - 59 red, 12 green, and 95 blue.

How to use #3B0C5F in CSS?

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

What colors go well with #3B0C5F?

#305F0C (complementary), #110C5F (analogous), and #11031B (lighter shade) work well with #3B0C5F.