#24041B Color Information

Hex color code: #24041B

A deep magenta shade, #24041B appears as (36, 4, 27) in RGB and (317°, 80%, 8%) in HSL. It is commonly used in modern UI design.

Try:
Color NameBlack
HEX
#24041B
RGB
36, 4, 27
HSL
317°, 80%, 8%
CMYK
0%, 89%, 25%, 86%

Shades

CSS Usage
color: #24041B;
background-color: #24041B;
border-color: #24041B;
box-shadow: 0 0 10px #24041B;
border: 2px solid #24041B;
Tailwind Usage
bg-[#24041B]
text-[#24041B]
border-[#24041B]
shadow-[0_0_10px_24041B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #24041B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #24041B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #24041B; 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 #24041B; background-color: #24041B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #24041B20; border-left: 4px solid #24041B; }

Link / Accent

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

a { color: #24041B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #24041B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

36, 4, 27

Red: 36 / Green: 4 / Blue: 27

HSL

317°, 80%, 8%

Hue: 317° / Saturation: 80% / Lightness: 8%

CMYK

0%, 89%, 25%, 86%

Cyan: 0% / Magenta: 89% / Yellow: 25% / Key: 86%

What color is #24041B?

#24041B is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #24041B to RGB:

rgb(36, 4, 27)HEX to RGB Converter →

HEX to HSL

Convert #24041B to HSL:

hsl(317, 80%, 8%)RGB to HSL Converter →

HEX to CMYK

Convert #24041B to CMYK:

cmyk(0%, 89%, 25%, 86%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #24041B has RGB (36, 4, 27) and HSL (317°, 80%, 8%). Known for evoking sophistication and elegance, this very dark shade is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #24041B is #04250D, creating high-contrast pairings. For softer combinations, try analogous colors like #1E0425.

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

Contrast with #24041B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #24041B?

#24041B is a dark magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #24041B?

#24041B in RGB is (36, 4, 27) - 36 red, 4 green, and 27 blue.

How to use #24041B in CSS?

Use #24041B directly in your CSS properties like color or background-color.

What colors go well with #24041B?

#04250D (complementary), #1E0425 (analogous), and #000000 (lighter shade) work well with #24041B.