#5B18CD Color Information

Hex color code: #5B18CD

The hex color #5B18CD is a dynamic purple with RGB values of (91, 24, 205) and HSL of (262°, 79%, 45%). It is typically applied in digital products.

Try:
Color NameBlue Violet
HEX
#5B18CD
RGB
91, 24, 205
HSL
262°, 79%, 45%
CMYK
56%, 88%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5B18CD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 24, 205

Red: 91 / Green: 24 / Blue: 205

HSL

262°, 79%, 45%

Hue: 262° / Saturation: 79% / Lightness: 45%

CMYK

56%, 88%, 0%, 20%

Cyan: 56% / Magenta: 88% / Yellow: 0% / Key: 20%

What color is #5B18CD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B18CD to RGB:

rgb(91, 24, 205)HEX to RGB Converter →

HEX to HSL

Convert #5B18CD to HSL:

hsl(262, 79%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #5B18CD to CMYK:

cmyk(56%, 88%, 0%, 20%)Color Converter →

Color Meaning and Usage

A bold purple tone, #5B18CD has RGB (91, 24, 205) and HSL (262°, 79%, 45%). Known for evoking creativity and luxury, this blue-purple hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B18CD is #8BCD18, creating high-contrast pairings. For softer combinations, try analogous colors like #1830CD.

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

Contrast with #5B18CD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B18CD?

#5B18CD is a bold purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5B18CD?

#5B18CD in RGB is (91, 24, 205) - 91 red, 24 green, and 205 blue.

How to use #5B18CD in CSS?

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

What colors go well with #5B18CD?

#8BCD18 (complementary), #1830CD (analogous), and #3C1089 (lighter shade) work well with #5B18CD.