#291A2D Color Information

Hex color code: #291A2D

The hex color #291A2D is a dramatic magenta with RGB values of (41, 26, 45) and HSL of (287°, 27%, 14%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#291A2D
RGB
41, 26, 45
HSL
287°, 27%, 14%
CMYK
9%, 42%, 0%, 82%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #291A2D; 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 #291A2D; background-color: #291A2D15; }

Alert / Toast

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

Link / Accent

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

a { color: #291A2D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #291A2D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

41, 26, 45

Red: 41 / Green: 26 / Blue: 45

HSL

287°, 27%, 14%

Hue: 287° / Saturation: 27% / Lightness: 14%

CMYK

9%, 42%, 0%, 82%

Cyan: 9% / Magenta: 42% / Yellow: 0% / Key: 82%

What color is #291A2D?

#291A2D is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #291A2D to RGB:

rgb(41, 26, 45)HEX to RGB Converter →

HEX to HSL

Convert #291A2D to HSL:

hsl(287, 27%, 14%)RGB to HSL Converter →

HEX to CMYK

Convert #291A2D to CMYK:

cmyk(9%, 42%, 0%, 82%)Color Converter →

Color Meaning and Usage

A deep magenta tone, #291A2D has RGB (41, 26, 45) and HSL (287°, 27%, 14%). Known for evoking sophistication and elegance, this very dark shade is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #291A2D is #1E2D1A, creating high-contrast pairings. For softer combinations, try analogous colors like #201A2D.

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

Contrast with #291A2D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #291A2D?

#291A2D is a deep magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #291A2D?

#291A2D in RGB is (41, 26, 45) - 41 red, 26 green, and 45 blue.

How to use #291A2D in CSS?

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

What colors go well with #291A2D?

#1E2D1A (complementary), #201A2D (analogous), and #000000 (lighter shade) work well with #291A2D.