#511C9B Color Information

Hex color code: #511C9B

A cool purple shade, #511C9B appears as (81, 28, 155) in RGB and (265°, 69%, 36%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRebecca Purple
HEX
#511C9B
RGB
81, 28, 155
HSL
265°, 69%, 36%
CMYK
48%, 82%, 0%, 39%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #511C9B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 28, 155

Red: 81 / Green: 28 / Blue: 155

HSL

265°, 69%, 36%

Hue: 265° / Saturation: 69% / Lightness: 36%

CMYK

48%, 82%, 0%, 39%

Cyan: 48% / Magenta: 82% / Yellow: 0% / Key: 39%

What color is #511C9B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #511C9B to RGB:

rgb(81, 28, 155)HEX to RGB Converter →

HEX to HSL

Convert #511C9B to HSL:

hsl(265, 69%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #511C9B to CMYK:

cmyk(48%, 82%, 0%, 39%)Color Converter →

Color Meaning and Usage

#511C9B is a peaceful purple color with RGB values of 81, 28, 155 and HSL of 265°, 69%, 36%. This blue-purple hue evokes creativity and luxury, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #511C9B is #669B1C, creating high-contrast pairings. For softer combinations, try analogous colors like #1C279B.

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

Contrast with #511C9B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #511C9B?

#511C9B is a peaceful purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #511C9B?

#511C9B in RGB is (81, 28, 155) - 81 red, 28 green, and 155 blue.

How to use #511C9B in CSS?

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

What colors go well with #511C9B?

#669B1C (complementary), #1C279B (analogous), and #2F115A (lighter shade) work well with #511C9B.