#513989 Color Information

Hex color code: #513989

The hex color #513989 is a subtle purple with RGB values of (81, 57, 137) and HSL of (258°, 41%, 38%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#513989
RGB
81, 57, 137
HSL
258°, 41%, 38%
CMYK
41%, 58%, 0%, 46%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #513989; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 57, 137

Red: 81 / Green: 57 / Blue: 137

HSL

258°, 41%, 38%

Hue: 258° / Saturation: 41% / Lightness: 38%

CMYK

41%, 58%, 0%, 46%

Cyan: 41% / Magenta: 58% / Yellow: 0% / Key: 46%

What color is #513989?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #513989 to RGB:

rgb(81, 57, 137)HEX to RGB Converter →

HEX to HSL

Convert #513989 to HSL:

hsl(258, 41%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #513989 to CMYK:

cmyk(41%, 58%, 0%, 46%)Color Converter →

Color Meaning and Usage

A soft purple tone, #513989 has RGB (81, 57, 137) and HSL (258°, 41%, 38%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #513989 is #718939, creating high-contrast pairings. For softer combinations, try analogous colors like #394989.

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

Contrast with #513989

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #513989?

#513989 is a soft purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #513989?

#513989 in RGB is (81, 57, 137) - 81 red, 57 green, and 137 blue.

How to use #513989 in CSS?

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

What colors go well with #513989?

#718939 (complementary), #394989 (analogous), and #312353 (lighter shade) work well with #513989.