#97308F Color Information

Hex color code: #97308F

The hex color #97308F is a neutral magenta with RGB values of (151, 48, 143) and HSL of (305°, 52%, 39%). It is commonly used in modern UI design.

Try:
Color NameDark Magenta
HEX
#97308F
RGB
151, 48, 143
HSL
305°, 52%, 39%
CMYK
0%, 68%, 5%, 41%

Shades

CSS Usage
color: #97308F;
background-color: #97308F;
border-color: #97308F;
box-shadow: 0 0 10px #97308F;
border: 2px solid #97308F;
Tailwind Usage
bg-[#97308F]
text-[#97308F]
border-[#97308F]
shadow-[0_0_10px_97308F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #97308F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #97308F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #97308F; 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 #97308F; background-color: #97308F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #97308F20; border-left: 4px solid #97308F; }

Link / Accent

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

a { color: #97308F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #97308F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 48, 143

Red: 151 / Green: 48 / Blue: 143

HSL

305°, 52%, 39%

Hue: 305° / Saturation: 52% / Lightness: 39%

CMYK

0%, 68%, 5%, 41%

Cyan: 0% / Magenta: 68% / Yellow: 5% / Key: 41%

What color is #97308F?

#97308F is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #97308F to RGB:

rgb(151, 48, 143)HEX to RGB Converter →

HEX to HSL

Convert #97308F to HSL:

hsl(305, 52%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #97308F to CMYK:

cmyk(0%, 68%, 5%, 41%)Color Converter →

Color Meaning and Usage

#97308F is a balanced magenta color with RGB values of 151, 48, 143 and HSL of 305°, 52%, 39%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #97308F is #309738, creating high-contrast pairings. For softer combinations, try analogous colors like #6C3097.

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

Contrast with #97308F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #97308F?

#97308F is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #97308F?

#97308F in RGB is (151, 48, 143) - 151 red, 48 green, and 143 blue.

How to use #97308F in CSS?

Use #97308F directly in your CSS properties like color or background-color.

What colors go well with #97308F?

#309738 (complementary), #6C3097 (analogous), and #5D1D58 (lighter shade) work well with #97308F.