#971DAF Color Information

Hex color code: #971DAF

A vivid magenta shade, #971DAF appears as (151, 29, 175) in RGB and (290°, 72%, 40%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#971DAF
RGB
151, 29, 175
HSL
290°, 72%, 40%
CMYK
14%, 83%, 0%, 31%

Shades

CSS Usage
color: #971DAF;
background-color: #971DAF;
border-color: #971DAF;
box-shadow: 0 0 10px #971DAF;
border: 2px solid #971DAF;
Tailwind Usage
bg-[#971DAF]
text-[#971DAF]
border-[#971DAF]
shadow-[0_0_10px_971DAF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #971DAF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #971DAF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #971DAF; 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 #971DAF; background-color: #971DAF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #971DAF20; border-left: 4px solid #971DAF; }

Link / Accent

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

a { color: #971DAF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #971DAF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

151, 29, 175

Red: 151 / Green: 29 / Blue: 175

HSL

290°, 72%, 40%

Hue: 290° / Saturation: 72% / Lightness: 40%

CMYK

14%, 83%, 0%, 31%

Cyan: 14% / Magenta: 83% / Yellow: 0% / Key: 31%

What color is #971DAF?

#971DAF is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #971DAF to RGB:

rgb(151, 29, 175)HEX to RGB Converter →

HEX to HSL

Convert #971DAF to HSL:

hsl(290, 72%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #971DAF to CMYK:

cmyk(14%, 83%, 0%, 31%)Color Converter →

Color Meaning and Usage

#971DAF is a striking magenta color with RGB values of 151, 29, 175 and HSL of 290°, 72%, 40%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #971DAF is #35AF1D, creating high-contrast pairings. For softer combinations, try analogous colors like #4E1DAF.

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

Contrast with #971DAF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #971DAF?

#971DAF is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #971DAF?

#971DAF in RGB is (151, 29, 175) - 151 red, 29 green, and 175 blue.

How to use #971DAF in CSS?

Use #971DAF directly in your CSS properties like color or background-color.

What colors go well with #971DAF?

#35AF1D (complementary), #4E1DAF (analogous), and #5E126E (lighter shade) work well with #971DAF.