#301D2D Color Information

Hex color code: #301D2D

The hex color #301D2D is a dark magenta with RGB values of (48, 29, 45) and HSL of (309°, 25%, 15%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#301D2D
RGB
48, 29, 45
HSL
309°, 25%, 15%
CMYK
0%, 40%, 6%, 81%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #301D2D; 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 #301D2D; background-color: #301D2D15; }

Alert / Toast

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

Link / Accent

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

a { color: #301D2D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #301D2D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 29, 45

Red: 48 / Green: 29 / Blue: 45

HSL

309°, 25%, 15%

Hue: 309° / Saturation: 25% / Lightness: 15%

CMYK

0%, 40%, 6%, 81%

Cyan: 0% / Magenta: 40% / Yellow: 6% / Key: 81%

What color is #301D2D?

#301D2D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #301D2D to RGB:

rgb(48, 29, 45)HEX to RGB Converter →

HEX to HSL

Convert #301D2D to HSL:

hsl(309, 25%, 15%)RGB to HSL Converter →

HEX to CMYK

Convert #301D2D to CMYK:

cmyk(0%, 40%, 6%, 81%)Color Converter →

Color Meaning and Usage

A dramatic magenta tone, #301D2D has RGB (48, 29, 45) and HSL (309°, 25%, 15%). Known for evoking sophistication and elegance, this very dark shade is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #301D2D is #1D3020, creating high-contrast pairings. For softer combinations, try analogous colors like #291D30.

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

Contrast with #301D2D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #301D2D?

#301D2D is a dramatic magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #301D2D?

#301D2D in RGB is (48, 29, 45) - 48 red, 29 green, and 45 blue.

How to use #301D2D in CSS?

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

What colors go well with #301D2D?

#1D3020 (complementary), #291D30 (analogous), and #000000 (lighter shade) work well with #301D2D.