#731AEF Color Information

Hex color code: #731AEF

A vivid purple shade, #731AEF appears as (115, 26, 239) in RGB and (265°, 87%, 52%) in HSL. It is commonly used in modern UI design.

Try:
Color NameBlue Violet
HEX
#731AEF
RGB
115, 26, 239
HSL
265°, 87%, 52%
CMYK
52%, 89%, 0%, 6%

Shades

CSS Usage
color: #731AEF;
background-color: #731AEF;
border-color: #731AEF;
box-shadow: 0 0 10px #731AEF;
border: 2px solid #731AEF;
Tailwind Usage
bg-[#731AEF]
text-[#731AEF]
border-[#731AEF]
shadow-[0_0_10px_731AEF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #731AEF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #731AEF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #731AEF; 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 #731AEF; background-color: #731AEF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #731AEF20; border-left: 4px solid #731AEF; }

Link / Accent

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

a { color: #731AEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #731AEF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

115, 26, 239

Red: 115 / Green: 26 / Blue: 239

HSL

265°, 87%, 52%

Hue: 265° / Saturation: 87% / Lightness: 52%

CMYK

52%, 89%, 0%, 6%

Cyan: 52% / Magenta: 89% / Yellow: 0% / Key: 6%

What color is #731AEF?

#731AEF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #731AEF to RGB:

rgb(115, 26, 239)HEX to RGB Converter →

HEX to HSL

Convert #731AEF to HSL:

hsl(265, 87%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #731AEF to CMYK:

cmyk(52%, 89%, 0%, 6%)Color Converter →

Color Meaning and Usage

#731AEF is a bold purple color with RGB values of 115, 26, 239 and HSL of 265°, 87%, 52%. This highly saturated hue evokes energy and excitement, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #731AEF is #96EF1A, creating high-contrast pairings. For softer combinations, try analogous colors like #1A2CEF.

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

Contrast with #731AEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #731AEF?

#731AEF is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #731AEF?

#731AEF in RGB is (115, 26, 239) - 115 red, 26 green, and 239 blue.

How to use #731AEF in CSS?

Use #731AEF directly in your CSS properties like color or background-color.

What colors go well with #731AEF?

#96EF1A (complementary), #1A2CEF (analogous), and #510CB0 (lighter shade) work well with #731AEF.