#5F477B Color Information

Hex color code: #5F477B

#5F477B is a pastel purple color. In RGB it is (95, 71, 123), and in HSL it is (268°, 27%, 38%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#5F477B
RGB
95, 71, 123
HSL
268°, 27%, 38%
CMYK
23%, 42%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5F477B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 71, 123

Red: 95 / Green: 71 / Blue: 123

HSL

268°, 27%, 38%

Hue: 268° / Saturation: 27% / Lightness: 38%

CMYK

23%, 42%, 0%, 52%

Cyan: 23% / Magenta: 42% / Yellow: 0% / Key: 52%

What color is #5F477B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F477B to RGB:

rgb(95, 71, 123)HEX to RGB Converter →

HEX to HSL

Convert #5F477B to HSL:

hsl(268, 27%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #5F477B to CMYK:

cmyk(23%, 42%, 0%, 52%)Color Converter →

Color Meaning and Usage

#5F477B is a subtle purple color with RGB values of 95, 71, 123 and HSL of 268°, 27%, 38%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F477B is #637B47, creating high-contrast pairings. For softer combinations, try analogous colors like #47487B.

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

Contrast with #5F477B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F477B?

#5F477B is a subtle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #5F477B?

#5F477B in RGB is (95, 71, 123) - 95 red, 71 green, and 123 blue.

How to use #5F477B in CSS?

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

What colors go well with #5F477B?

#637B47 (complementary), #47487B (analogous), and #3A2B4A (lighter shade) work well with #5F477B.