#42204C Color Information

Hex color code: #42204C

A deep magenta shade, #42204C appears as (66, 32, 76) in RGB and (286°, 41%, 21%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#42204C
RGB
66, 32, 76
HSL
286°, 41%, 21%
CMYK
13%, 58%, 0%, 70%

Shades

CSS Usage
color: #42204C;
background-color: #42204C;
border-color: #42204C;
box-shadow: 0 0 10px #42204C;
border: 2px solid #42204C;
Tailwind Usage
bg-[#42204C]
text-[#42204C]
border-[#42204C]
shadow-[0_0_10px_42204C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #42204C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #42204C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #42204C; 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 #42204C; background-color: #42204C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #42204C20; border-left: 4px solid #42204C; }

Link / Accent

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

a { color: #42204C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42204C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 32, 76

Red: 66 / Green: 32 / Blue: 76

HSL

286°, 41%, 21%

Hue: 286° / Saturation: 41% / Lightness: 21%

CMYK

13%, 58%, 0%, 70%

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

What color is #42204C?

#42204C is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42204C to RGB:

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

HEX to HSL

Convert #42204C to HSL:

hsl(286, 41%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #42204C to CMYK:

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

Color Meaning and Usage

#42204C is a deep magenta color with RGB values of 66, 32, 76 and HSL of 286°, 41%, 21%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42204C is #2A4C20, creating high-contrast pairings. For softer combinations, try analogous colors like #2B204C.

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

Contrast with #42204C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42204C?

#42204C is a deep magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #42204C?

#42204C in RGB is (66, 32, 76) - 66 red, 32 green, and 76 blue.

How to use #42204C in CSS?

Use #42204C directly in your CSS properties like color or background-color.

What colors go well with #42204C?

#2A4C20 (complementary), #2B204C (analogous), and #130916 (lighter shade) work well with #42204C.