#542263 Color Information

Hex color code: #542263

#542263 is a soft magenta color. In RGB it is (84, 34, 99), and in HSL it is (286°, 49%, 26%). It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#542263
RGB
84, 34, 99
HSL
286°, 49%, 26%
CMYK
15%, 66%, 0%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #542263; 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 #542263; background-color: #54226315; }

Alert / Toast

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

Link / Accent

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

a { color: #542263; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #542263 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

84, 34, 99

Red: 84 / Green: 34 / Blue: 99

HSL

286°, 49%, 26%

Hue: 286° / Saturation: 49% / Lightness: 26%

CMYK

15%, 66%, 0%, 61%

Cyan: 15% / Magenta: 66% / Yellow: 0% / Key: 61%

What color is #542263?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #542263 to RGB:

rgb(84, 34, 99)HEX to RGB Converter →

HEX to HSL

Convert #542263 to HSL:

hsl(286, 49%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #542263 to CMYK:

cmyk(15%, 66%, 0%, 61%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #542263 has RGB (84, 34, 99) and HSL (286°, 49%, 26%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #542263 is #316322, creating high-contrast pairings. For softer combinations, try analogous colors like #332263.

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

Contrast with #542263

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #542263?

#542263 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #542263?

#542263 in RGB is (84, 34, 99) - 84 red, 34 green, and 99 blue.

How to use #542263 in CSS?

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

What colors go well with #542263?

#316322 (complementary), #332263 (analogous), and #230E2A (lighter shade) work well with #542263.