#51328B Color Information

Hex color code: #51328B

The hex color #51328B is a delicate purple with RGB values of (81, 50, 139) and HSL of (261°, 47%, 37%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#51328B
RGB
81, 50, 139
HSL
261°, 47%, 37%
CMYK
42%, 64%, 0%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #51328B; 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 #51328B; background-color: #51328B15; }

Alert / Toast

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

Link / Accent

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

a { color: #51328B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51328B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 50, 139

Red: 81 / Green: 50 / Blue: 139

HSL

261°, 47%, 37%

Hue: 261° / Saturation: 47% / Lightness: 37%

CMYK

42%, 64%, 0%, 45%

Cyan: 42% / Magenta: 64% / Yellow: 0% / Key: 45%

What color is #51328B?

#51328B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51328B to RGB:

rgb(81, 50, 139)HEX to RGB Converter →

HEX to HSL

Convert #51328B to HSL:

hsl(261, 47%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #51328B to CMYK:

cmyk(42%, 64%, 0%, 45%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #51328B has RGB (81, 50, 139) and HSL (261°, 47%, 37%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51328B is #6C8B32, creating high-contrast pairings. For softer combinations, try analogous colors like #323F8B.

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

Contrast with #51328B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51328B?

#51328B is a delicate purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #51328B?

#51328B in RGB is (81, 50, 139) - 81 red, 50 green, and 139 blue.

How to use #51328B in CSS?

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

What colors go well with #51328B?

#6C8B32 (complementary), #323F8B (analogous), and #301E52 (lighter shade) work well with #51328B.