#562D78 Color Information

Hex color code: #562D78

#562D78 is a pastel purple color. In RGB it is (86, 45, 120), and in HSL it is (273°, 45%, 32%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#562D78
RGB
86, 45, 120
HSL
273°, 45%, 32%
CMYK
28%, 62%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #562D78; 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 #562D78; background-color: #562D7815; }

Alert / Toast

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

Link / Accent

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

a { color: #562D78; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #562D78 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

86, 45, 120

Red: 86 / Green: 45 / Blue: 120

HSL

273°, 45%, 32%

Hue: 273° / Saturation: 45% / Lightness: 32%

CMYK

28%, 62%, 0%, 53%

Cyan: 28% / Magenta: 62% / Yellow: 0% / Key: 53%

What color is #562D78?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #562D78 to RGB:

rgb(86, 45, 120)HEX to RGB Converter →

HEX to HSL

Convert #562D78 to HSL:

hsl(273, 45%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #562D78 to CMYK:

cmyk(28%, 62%, 0%, 53%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #562D78 has RGB (86, 45, 120) and HSL (273°, 45%, 32%). Known for evoking romance and playfulness, this magenta-red hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #562D78 is #4E762D, creating high-contrast pairings. For softer combinations, try analogous colors like #312D76.

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

Contrast with #562D78

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #562D78?

#562D78 is a delicate purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #562D78?

#562D78 in RGB is (86, 45, 120) - 86 red, 45 green, and 120 blue.

How to use #562D78 in CSS?

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

What colors go well with #562D78?

#4E762D (complementary), #312D76 (analogous), and #2D183F (lighter shade) work well with #562D78.