#5B137C Color Information

Hex color code: #5B137C

#5B137C is a eye-catching purple color. In RGB it is (91, 19, 124), and in HSL it is (281°, 73%, 28%). It is widely used in graphic design.

Try:
Color NameIndigo
HEX
#5B137C
RGB
91, 19, 124
HSL
281°, 73%, 28%
CMYK
27%, 85%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5B137C; 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 #5B137C; background-color: #5B137C15; }

Alert / Toast

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

Link / Accent

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

a { color: #5B137C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5B137C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 19, 124

Red: 91 / Green: 19 / Blue: 124

HSL

281°, 73%, 28%

Hue: 281° / Saturation: 73% / Lightness: 28%

CMYK

27%, 85%, 0%, 51%

Cyan: 27% / Magenta: 85% / Yellow: 0% / Key: 51%

What color is #5B137C?

#5B137C is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B137C to RGB:

rgb(91, 19, 124)HEX to RGB Converter →

HEX to HSL

Convert #5B137C to HSL:

hsl(281, 73%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #5B137C to CMYK:

cmyk(27%, 85%, 0%, 51%)Color Converter →

Color Meaning and Usage

#5B137C is a striking purple color with RGB values of 91, 19, 124 and HSL of 281°, 73%, 28%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B137C is #347C13, creating high-contrast pairings. For softer combinations, try analogous colors like #26137C.

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

Contrast with #5B137C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B137C?

#5B137C is a striking purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #5B137C?

#5B137C in RGB is (91, 19, 124) - 91 red, 19 green, and 124 blue.

How to use #5B137C in CSS?

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

What colors go well with #5B137C?

#347C13 (complementary), #26137C (analogous), and #2A0939 (lighter shade) work well with #5B137C.