#56236C Color Information

Hex color code: #56236C

A neutral purple shade, #56236C appears as (86, 35, 108) in RGB and (282°, 51%, 28%) in HSL. It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#56236C
RGB
86, 35, 108
HSL
282°, 51%, 28%
CMYK
20%, 68%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #56236C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

86, 35, 108

Red: 86 / Green: 35 / Blue: 108

HSL

282°, 51%, 28%

Hue: 282° / Saturation: 51% / Lightness: 28%

CMYK

20%, 68%, 0%, 58%

Cyan: 20% / Magenta: 68% / Yellow: 0% / Key: 58%

What color is #56236C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #56236C to RGB:

rgb(86, 35, 108)HEX to RGB Converter →

HEX to HSL

Convert #56236C to HSL:

hsl(282, 51%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #56236C to CMYK:

cmyk(20%, 68%, 0%, 58%)Color Converter →

Color Meaning and Usage

A understated purple tone, #56236C has RGB (86, 35, 108) and HSL (282°, 51%, 28%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #56236C is #396C23, creating high-contrast pairings. For softer combinations, try analogous colors like #32236C.

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

Contrast with #56236C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #56236C?

#56236C is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #56236C?

#56236C in RGB is (86, 35, 108) - 86 red, 35 green, and 108 blue.

How to use #56236C in CSS?

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

What colors go well with #56236C?

#396C23 (complementary), #32236C (analogous), and #281032 (lighter shade) work well with #56236C.