#3B0C38 Color Information

Hex color code: #3B0C38

#3B0C38 is a dramatic magenta color. In RGB it is (59, 12, 56), and in HSL it is (304°, 66%, 14%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#3B0C38
RGB
59, 12, 56
HSL
304°, 66%, 14%
CMYK
0%, 80%, 5%, 77%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #3B0C38; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

59, 12, 56

Red: 59 / Green: 12 / Blue: 56

HSL

304°, 66%, 14%

Hue: 304° / Saturation: 66% / Lightness: 14%

CMYK

0%, 80%, 5%, 77%

Cyan: 0% / Magenta: 80% / Yellow: 5% / Key: 77%

What color is #3B0C38?

#3B0C38 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3B0C38 to RGB:

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

HEX to HSL

Convert #3B0C38 to HSL:

hsl(304, 66%, 14%)RGB to HSL Converter →

HEX to CMYK

Convert #3B0C38 to CMYK:

cmyk(0%, 80%, 5%, 77%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #3B0C38 has RGB (59, 12, 56) and HSL (304°, 66%, 14%). Known for evoking sophistication and elegance, this very dark shade is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3B0C38 is #0C3B0F, creating high-contrast pairings. For softer combinations, try analogous colors like #270C3B.

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

Contrast with #3B0C38

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3B0C38?

#3B0C38 is a dark magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #3B0C38?

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

How to use #3B0C38 in CSS?

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

What colors go well with #3B0C38?

#0C3B0F (complementary), #270C3B (analogous), and #000000 (lighter shade) work well with #3B0C38.