#5928EB Color Information

Hex color code: #5928EB

#5928EB is a dynamic purple color. In RGB it is (89, 40, 235), and in HSL it is (255°, 83%, 54%). It is typically applied in digital products.

Try:
Color NameBlue Violet
HEX
#5928EB
RGB
89, 40, 235
HSL
255°, 83%, 54%
CMYK
62%, 83%, 0%, 8%

Shades

CSS Usage
color: #5928EB;
background-color: #5928EB;
border-color: #5928EB;
box-shadow: 0 0 10px #5928EB;
border: 2px solid #5928EB;
Tailwind Usage
bg-[#5928EB]
text-[#5928EB]
border-[#5928EB]
shadow-[0_0_10px_5928EB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5928EB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5928EB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5928EB; 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 #5928EB; background-color: #5928EB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5928EB20; border-left: 4px solid #5928EB; }

Link / Accent

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

a { color: #5928EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5928EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

89, 40, 235

Red: 89 / Green: 40 / Blue: 235

HSL

255°, 83%, 54%

Hue: 255° / Saturation: 83% / Lightness: 54%

CMYK

62%, 83%, 0%, 8%

Cyan: 62% / Magenta: 83% / Yellow: 0% / Key: 8%

What color is #5928EB?

#5928EB is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5928EB to RGB:

rgb(89, 40, 235)HEX to RGB Converter →

HEX to HSL

Convert #5928EB to HSL:

hsl(255, 83%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #5928EB to CMYK:

cmyk(62%, 83%, 0%, 8%)Color Converter →

Color Meaning and Usage

A vivid purple tone, #5928EB has RGB (89, 40, 235) and HSL (255°, 83%, 54%). Known for evoking energy and excitement, this highly saturated hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5928EB is #BAEB28, creating high-contrast pairings. For softer combinations, try analogous colors like #2859EB.

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

Contrast with #5928EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5928EB?

#5928EB is a vivid purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #5928EB?

#5928EB in RGB is (89, 40, 235) - 89 red, 40 green, and 235 blue.

How to use #5928EB in CSS?

Use #5928EB directly in your CSS properties like color or background-color.

What colors go well with #5928EB?

#BAEB28 (complementary), #2859EB (analogous), and #3A11B6 (lighter shade) work well with #5928EB.