#421F47 Color Information

Hex color code: #421F47

#421F47 is a dramatic magenta color. In RGB it is (66, 31, 71), and in HSL it is (293°, 39%, 20%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#421F47
RGB
66, 31, 71
HSL
293°, 39%, 20%
CMYK
7%, 56%, 0%, 72%

Shades

CSS Usage
color: #421F47;
background-color: #421F47;
border-color: #421F47;
box-shadow: 0 0 10px #421F47;
border: 2px solid #421F47;
Tailwind Usage
bg-[#421F47]
text-[#421F47]
border-[#421F47]
shadow-[0_0_10px_421F47]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #421F47, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #421F47; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #421F47; 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 #421F47; background-color: #421F4715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #421F4720; border-left: 4px solid #421F47; }

Link / Accent

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

a { color: #421F47; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #421F47 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 31, 71

Red: 66 / Green: 31 / Blue: 71

HSL

293°, 39%, 20%

Hue: 293° / Saturation: 39% / Lightness: 20%

CMYK

7%, 56%, 0%, 72%

Cyan: 7% / Magenta: 56% / Yellow: 0% / Key: 72%

What color is #421F47?

#421F47 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #421F47 to RGB:

rgb(66, 31, 71)HEX to RGB Converter →

HEX to HSL

Convert #421F47 to HSL:

hsl(293, 39%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #421F47 to CMYK:

cmyk(7%, 56%, 0%, 72%)Color Converter →

Color Meaning and Usage

A deep magenta tone, #421F47 has RGB (66, 31, 71) and HSL (293°, 39%, 20%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #421F47 is #24471F, creating high-contrast pairings. For softer combinations, try analogous colors like #2E1F47.

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

Contrast with #421F47

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #421F47?

#421F47 is a deep magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #421F47?

#421F47 in RGB is (66, 31, 71) - 66 red, 31 green, and 71 blue.

How to use #421F47 in CSS?

Use #421F47 directly in your CSS properties like color or background-color.

What colors go well with #421F47?

#24471F (complementary), #2E1F47 (analogous), and #110812 (lighter shade) work well with #421F47.