#831AA2 Color Information

Hex color code: #831AA2

#831AA2 is a bold magenta color. In RGB it is (131, 26, 162), and in HSL it is (286°, 72%, 37%). It is frequently seen in web interfaces.

Try:
Color NameDark Magenta
HEX
#831AA2
RGB
131, 26, 162
HSL
286°, 72%, 37%
CMYK
19%, 84%, 0%, 36%

Shades

CSS Usage
color: #831AA2;
background-color: #831AA2;
border-color: #831AA2;
box-shadow: 0 0 10px #831AA2;
border: 2px solid #831AA2;
Tailwind Usage
bg-[#831AA2]
text-[#831AA2]
border-[#831AA2]
shadow-[0_0_10px_831AA2]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #831AA2, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #831AA2; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #831AA2; 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 #831AA2; background-color: #831AA215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #831AA220; border-left: 4px solid #831AA2; }

Link / Accent

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

a { color: #831AA2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #831AA2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

131, 26, 162

Red: 131 / Green: 26 / Blue: 162

HSL

286°, 72%, 37%

Hue: 286° / Saturation: 72% / Lightness: 37%

CMYK

19%, 84%, 0%, 36%

Cyan: 19% / Magenta: 84% / Yellow: 0% / Key: 36%

What color is #831AA2?

#831AA2 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #831AA2 to RGB:

rgb(131, 26, 162)HEX to RGB Converter →

HEX to HSL

Convert #831AA2 to HSL:

hsl(286, 72%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #831AA2 to CMYK:

cmyk(19%, 84%, 0%, 36%)Color Converter →

Color Meaning and Usage

#831AA2 is a bold magenta color with RGB values of 131, 26, 162 and HSL of 286°, 72%, 37%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #831AA2 is #3AA21A, creating high-contrast pairings. For softer combinations, try analogous colors like #3F1AA2.

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

Contrast with #831AA2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #831AA2?

#831AA2 is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #831AA2?

#831AA2 in RGB is (131, 26, 162) - 131 red, 26 green, and 162 blue.

How to use #831AA2 in CSS?

Use #831AA2 directly in your CSS properties like color or background-color.

What colors go well with #831AA2?

#3AA21A (complementary), #3F1AA2 (analogous), and #4E1060 (lighter shade) work well with #831AA2.