#421F4C Color Information

Hex color code: #421F4C

#421F4C is a intense magenta color. In RGB it is (66, 31, 76), and in HSL it is (287°, 42%, 21%). It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#421F4C
RGB
66, 31, 76
HSL
287°, 42%, 21%
CMYK
13%, 59%, 0%, 70%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #421F4C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 31, 76

Red: 66 / Green: 31 / Blue: 76

HSL

287°, 42%, 21%

Hue: 287° / Saturation: 42% / Lightness: 21%

CMYK

13%, 59%, 0%, 70%

Cyan: 13% / Magenta: 59% / Yellow: 0% / Key: 70%

What color is #421F4C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #421F4C to RGB:

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

HEX to HSL

Convert #421F4C to HSL:

hsl(287, 42%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #421F4C to CMYK:

cmyk(13%, 59%, 0%, 70%)Color Converter →

Color Meaning and Usage

A dramatic magenta tone, #421F4C has RGB (66, 31, 76) and HSL (287°, 42%, 21%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #421F4C is #294C1F, creating high-contrast pairings. For softer combinations, try analogous colors like #2C1F4C.

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

Contrast with #421F4C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #421F4C?

#421F4C is a dramatic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #421F4C?

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

How to use #421F4C in CSS?

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

What colors go well with #421F4C?

#294C1F (complementary), #2C1F4C (analogous), and #130916 (lighter shade) work well with #421F4C.