#5F296B Color Information

Hex color code: #5F296B

The hex color #5F296B is a gentle magenta with RGB values of (95, 41, 107) and HSL of (289°, 45%, 29%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#5F296B
RGB
95, 41, 107
HSL
289°, 45%, 29%
CMYK
11%, 62%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5F296B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 41, 107

Red: 95 / Green: 41 / Blue: 107

HSL

289°, 45%, 29%

Hue: 289° / Saturation: 45% / Lightness: 29%

CMYK

11%, 62%, 0%, 58%

Cyan: 11% / Magenta: 62% / Yellow: 0% / Key: 58%

What color is #5F296B?

#5F296B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F296B to RGB:

rgb(95, 41, 107)HEX to RGB Converter →

HEX to HSL

Convert #5F296B to HSL:

hsl(289, 45%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #5F296B to CMYK:

cmyk(11%, 62%, 0%, 58%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #5F296B has RGB (95, 41, 107) and HSL (289°, 45%, 29%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F296B is #356B29, creating high-contrast pairings. For softer combinations, try analogous colors like #3E296B.

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

Contrast with #5F296B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F296B?

#5F296B is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #5F296B?

#5F296B in RGB is (95, 41, 107) - 95 red, 41 green, and 107 blue.

How to use #5F296B in CSS?

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

What colors go well with #5F296B?

#356B29 (complementary), #3E296B (analogous), and #2E1434 (lighter shade) work well with #5F296B.