#511FBD Color Information

Hex color code: #511FBD

A striking purple shade, #511FBD appears as (81, 31, 189) in RGB and (259°, 72%, 43%) in HSL. It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#511FBD
RGB
81, 31, 189
HSL
259°, 72%, 43%
CMYK
57%, 84%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #511FBD; 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 #511FBD; background-color: #511FBD15; }

Alert / Toast

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

Link / Accent

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

a { color: #511FBD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #511FBD in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 31, 189

Red: 81 / Green: 31 / Blue: 189

HSL

259°, 72%, 43%

Hue: 259° / Saturation: 72% / Lightness: 43%

CMYK

57%, 84%, 0%, 26%

Cyan: 57% / Magenta: 84% / Yellow: 0% / Key: 26%

What color is #511FBD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #511FBD to RGB:

rgb(81, 31, 189)HEX to RGB Converter →

HEX to HSL

Convert #511FBD to HSL:

hsl(259, 72%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #511FBD to CMYK:

cmyk(57%, 84%, 0%, 26%)Color Converter →

Color Meaning and Usage

#511FBD is a bold purple color with RGB values of 81, 31, 189 and HSL of 259°, 72%, 43%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #511FBD is #8BBD1F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F3CBD.

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

Contrast with #511FBD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #511FBD?

#511FBD is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #511FBD?

#511FBD in RGB is (81, 31, 189) - 81 red, 31 green, and 189 blue.

How to use #511FBD in CSS?

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

What colors go well with #511FBD?

#8BBD1F (complementary), #1F3CBD (analogous), and #35147B (lighter shade) work well with #511FBD.