#511BDA Color Information

Hex color code: #511BDA

A vivid purple shade, #511BDA appears as (81, 27, 218) in RGB and (257°, 78%, 48%) in HSL. It is commonly used in modern UI design.

Try:
Color NameBlue Violet
HEX
#511BDA
RGB
81, 27, 218
HSL
257°, 78%, 48%
CMYK
63%, 88%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #511BDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 27, 218

Red: 81 / Green: 27 / Blue: 218

HSL

257°, 78%, 48%

Hue: 257° / Saturation: 78% / Lightness: 48%

CMYK

63%, 88%, 0%, 15%

Cyan: 63% / Magenta: 88% / Yellow: 0% / Key: 15%

What color is #511BDA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #511BDA to RGB:

rgb(81, 27, 218)HEX to RGB Converter →

HEX to HSL

Convert #511BDA to HSL:

hsl(257, 78%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #511BDA to CMYK:

cmyk(63%, 88%, 0%, 15%)Color Converter →

Color Meaning and Usage

#511BDA is a vivid purple color with RGB values of 81, 27, 218 and HSL of 257°, 78%, 48%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #511BDA is #A4DA1B, creating high-contrast pairings. For softer combinations, try analogous colors like #1B44DA.

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

Contrast with #511BDA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #511BDA?

#511BDA is a vivid purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #511BDA?

#511BDA in RGB is (81, 27, 218) - 81 red, 27 green, and 218 blue.

How to use #511BDA in CSS?

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

What colors go well with #511BDA?

#A4DA1B (complementary), #1B44DA (analogous), and #381396 (lighter shade) work well with #511BDA.