#412A40 Color Information

Hex color code: #412A40

#412A40 is a intense magenta color. In RGB it is (65, 42, 64), and in HSL it is (303°, 21%, 21%). It is popular in mobile app design.

Try:
Color NameDark Slate Gray
HEX
#412A40
RGB
65, 42, 64
HSL
303°, 21%, 21%
CMYK
0%, 35%, 2%, 75%

Shades

CSS Usage
color: #412A40;
background-color: #412A40;
border-color: #412A40;
box-shadow: 0 0 10px #412A40;
border: 2px solid #412A40;
Tailwind Usage
bg-[#412A40]
text-[#412A40]
border-[#412A40]
shadow-[0_0_10px_412A40]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #412A40, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #412A40; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #412A40; 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 #412A40; background-color: #412A4015; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #412A4020; border-left: 4px solid #412A40; }

Link / Accent

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

a { color: #412A40; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #412A40 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

65, 42, 64

Red: 65 / Green: 42 / Blue: 64

HSL

303°, 21%, 21%

Hue: 303° / Saturation: 21% / Lightness: 21%

CMYK

0%, 35%, 2%, 75%

Cyan: 0% / Magenta: 35% / Yellow: 2% / Key: 75%

What color is #412A40?

#412A40 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #412A40 to RGB:

rgb(65, 42, 64)HEX to RGB Converter →

HEX to HSL

Convert #412A40 to HSL:

hsl(303, 21%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #412A40 to CMYK:

cmyk(0%, 35%, 2%, 75%)Color Converter →

Color Meaning and Usage

A rich magenta tone, #412A40 has RGB (65, 42, 64) and HSL (303°, 21%, 21%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #412A40 is #2A412B, creating high-contrast pairings. For softer combinations, try analogous colors like #372A41.

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

Contrast with #412A40

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #412A40?

#412A40 is a rich magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #412A40?

#412A40 in RGB is (65, 42, 64) - 65 red, 42 green, and 64 blue.

How to use #412A40 in CSS?

Use #412A40 directly in your CSS properties like color or background-color.

What colors go well with #412A40?

#2A412B (complementary), #372A41 (analogous), and #130C12 (lighter shade) work well with #412A40.