#842E72 Color Information

Hex color code: #842E72

A delicate magenta shade, #842E72 appears as (132, 46, 114) in RGB and (313°, 48%, 35%) in HSL. It is widely used in graphic design.

Try:
Color NamePurple
HEX
#842E72
RGB
132, 46, 114
HSL
313°, 48%, 35%
CMYK
0%, 65%, 14%, 48%

Shades

CSS Usage
color: #842E72;
background-color: #842E72;
border-color: #842E72;
box-shadow: 0 0 10px #842E72;
border: 2px solid #842E72;
Tailwind Usage
bg-[#842E72]
text-[#842E72]
border-[#842E72]
shadow-[0_0_10px_842E72]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #842E72, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #842E72; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #842E72; 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 #842E72; background-color: #842E7215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #842E7220; border-left: 4px solid #842E72; }

Link / Accent

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

a { color: #842E72; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #842E72 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

132, 46, 114

Red: 132 / Green: 46 / Blue: 114

HSL

313°, 48%, 35%

Hue: 313° / Saturation: 48% / Lightness: 35%

CMYK

0%, 65%, 14%, 48%

Cyan: 0% / Magenta: 65% / Yellow: 14% / Key: 48%

What color is #842E72?

#842E72 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #842E72 to RGB:

rgb(132, 46, 114)HEX to RGB Converter →

HEX to HSL

Convert #842E72 to HSL:

hsl(313, 48%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #842E72 to CMYK:

cmyk(0%, 65%, 14%, 48%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #842E72 has RGB (132, 46, 114) and HSL (313°, 48%, 35%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #842E72 is #2E8441, creating high-contrast pairings. For softer combinations, try analogous colors like #6C2E84.

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

Contrast with #842E72

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #842E72?

#842E72 is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #842E72?

#842E72 in RGB is (132, 46, 114) - 132 red, 46 green, and 114 blue.

How to use #842E72 in CSS?

Use #842E72 directly in your CSS properties like color or background-color.

What colors go well with #842E72?

#2E8441 (complementary), #6C2E84 (analogous), and #4B1B41 (lighter shade) work well with #842E72.