#5A5478 Color Information

Hex color code: #5A5478

A subtle blue shade, #5A5478 appears as (90, 84, 120) in RGB and (250°, 18%, 40%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#5A5478
RGB
90, 84, 120
HSL
250°, 18%, 40%
CMYK
25%, 30%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5A5478; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

90, 84, 120

Red: 90 / Green: 84 / Blue: 120

HSL

250°, 18%, 40%

Hue: 250° / Saturation: 18% / Lightness: 40%

CMYK

25%, 30%, 0%, 53%

Cyan: 25% / Magenta: 30% / Yellow: 0% / Key: 53%

What color is #5A5478?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5A5478 to RGB:

rgb(90, 84, 120)HEX to RGB Converter →

HEX to HSL

Convert #5A5478 to HSL:

hsl(250, 18%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #5A5478 to CMYK:

cmyk(25%, 30%, 0%, 53%)Color Converter →

Color Meaning and Usage

A muted blue tone, #5A5478 has RGB (90, 84, 120) and HSL (250°, 18%, 40%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5A5478 is #727854, creating high-contrast pairings. For softer combinations, try analogous colors like #546078.

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

Contrast with #5A5478

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5A5478?

#5A5478 is a muted blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5A5478?

#5A5478 in RGB is (90, 84, 120) - 90 red, 84 green, and 120 blue.

How to use #5A5478 in CSS?

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

What colors go well with #5A5478?

#727854 (complementary), #546078 (analogous), and #38344B (lighter shade) work well with #5A5478.