#4A2139 Color Information

Hex color code: #4A2139

#4A2139 is a dramatic magenta color. In RGB it is (74, 33, 57), and in HSL it is (325°, 38%, 21%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#4A2139
RGB
74, 33, 57
HSL
325°, 38%, 21%
CMYK
0%, 55%, 23%, 71%

Shades

CSS Usage
color: #4A2139;
background-color: #4A2139;
border-color: #4A2139;
box-shadow: 0 0 10px #4A2139;
border: 2px solid #4A2139;
Tailwind Usage
bg-[#4A2139]
text-[#4A2139]
border-[#4A2139]
shadow-[0_0_10px_4A2139]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4A2139, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4A2139; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4A2139; 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 #4A2139; background-color: #4A213915; }

Alert / Toast

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

Link / Accent

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

a { color: #4A2139; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4A2139 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

74, 33, 57

Red: 74 / Green: 33 / Blue: 57

HSL

325°, 38%, 21%

Hue: 325° / Saturation: 38% / Lightness: 21%

CMYK

0%, 55%, 23%, 71%

Cyan: 0% / Magenta: 55% / Yellow: 23% / Key: 71%

What color is #4A2139?

#4A2139 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4A2139 to RGB:

rgb(74, 33, 57)HEX to RGB Converter →

HEX to HSL

Convert #4A2139 to HSL:

hsl(325, 38%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #4A2139 to CMYK:

cmyk(0%, 55%, 23%, 71%)Color Converter →

Color Meaning and Usage

#4A2139 is a dark magenta color with RGB values of 74, 33, 57 and HSL of 325°, 38%, 21%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4A2139 is #214A32, creating high-contrast pairings. For softer combinations, try analogous colors like #47214A.

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

Contrast with #4A2139

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4A2139?

#4A2139 is a dark magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #4A2139?

#4A2139 in RGB is (74, 33, 57) - 74 red, 33 green, and 57 blue.

How to use #4A2139 in CSS?

Use #4A2139 directly in your CSS properties like color or background-color.

What colors go well with #4A2139?

#214A32 (complementary), #47214A (analogous), and #150910 (lighter shade) work well with #4A2139.