#5941AF Color Information

Hex color code: #5941AF

The hex color #5941AF is a subtle blue with RGB values of (89, 65, 175) and HSL of (253°, 46%, 47%). It is popular in mobile app design.

Try:
Color NameRebecca Purple
HEX
#5941AF
RGB
89, 65, 175
HSL
253°, 46%, 47%
CMYK
49%, 63%, 0%, 31%

Shades

CSS Usage
color: #5941AF;
background-color: #5941AF;
border-color: #5941AF;
box-shadow: 0 0 10px #5941AF;
border: 2px solid #5941AF;
Tailwind Usage
bg-[#5941AF]
text-[#5941AF]
border-[#5941AF]
shadow-[0_0_10px_5941AF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5941AF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5941AF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5941AF; 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 #5941AF; background-color: #5941AF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5941AF20; border-left: 4px solid #5941AF; }

Link / Accent

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

a { color: #5941AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5941AF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

89, 65, 175

Red: 89 / Green: 65 / Blue: 175

HSL

253°, 46%, 47%

Hue: 253° / Saturation: 46% / Lightness: 47%

CMYK

49%, 63%, 0%, 31%

Cyan: 49% / Magenta: 63% / Yellow: 0% / Key: 31%

What color is #5941AF?

#5941AF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5941AF to RGB:

rgb(89, 65, 175)HEX to RGB Converter →

HEX to HSL

Convert #5941AF to HSL:

hsl(253, 46%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #5941AF to CMYK:

cmyk(49%, 63%, 0%, 31%)Color Converter →

Color Meaning and Usage

A subtle blue tone, #5941AF has RGB (89, 65, 175) and HSL (253°, 46%, 47%). 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 #5941AF is #97AF41, creating high-contrast pairings. For softer combinations, try analogous colors like #4160AF.

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

Contrast with #5941AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5941AF?

#5941AF is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5941AF?

#5941AF in RGB is (89, 65, 175) - 89 red, 65 green, and 175 blue.

How to use #5941AF in CSS?

Use #5941AF directly in your CSS properties like color or background-color.

What colors go well with #5941AF?

#97AF41 (complementary), #4160AF (analogous), and #3C2C77 (lighter shade) work well with #5941AF.