#310A6B Color Information

Hex color code: #310A6B

#310A6B is a intense purple color. In RGB it is (49, 10, 107), and in HSL it is (264°, 83%, 23%). It is widely used in graphic design.

Try:
Color NameIndigo
HEX
#310A6B
RGB
49, 10, 107
HSL
264°, 83%, 23%
CMYK
54%, 91%, 0%, 58%

Shades

CSS Usage
color: #310A6B;
background-color: #310A6B;
border-color: #310A6B;
box-shadow: 0 0 10px #310A6B;
border: 2px solid #310A6B;
Tailwind Usage
bg-[#310A6B]
text-[#310A6B]
border-[#310A6B]
shadow-[0_0_10px_310A6B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #310A6B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #310A6B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #310A6B; 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 #310A6B; background-color: #310A6B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #310A6B20; border-left: 4px solid #310A6B; }

Link / Accent

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

a { color: #310A6B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #310A6B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 10, 107

Red: 49 / Green: 10 / Blue: 107

HSL

264°, 83%, 23%

Hue: 264° / Saturation: 83% / Lightness: 23%

CMYK

54%, 91%, 0%, 58%

Cyan: 54% / Magenta: 91% / Yellow: 0% / Key: 58%

What color is #310A6B?

#310A6B is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #310A6B to RGB:

rgb(49, 10, 107)HEX to RGB Converter →

HEX to HSL

Convert #310A6B to HSL:

hsl(264, 83%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #310A6B to CMYK:

cmyk(54%, 91%, 0%, 58%)Color Converter →

Color Meaning and Usage

A dramatic purple tone, #310A6B has RGB (49, 10, 107) and HSL (264°, 83%, 23%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #310A6B is #446B0A, creating high-contrast pairings. For softer combinations, try analogous colors like #0A146B.

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

Contrast with #310A6B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #310A6B?

#310A6B is a dramatic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #310A6B?

#310A6B in RGB is (49, 10, 107) - 49 red, 10 green, and 107 blue.

How to use #310A6B in CSS?

Use #310A6B directly in your CSS properties like color or background-color.

What colors go well with #310A6B?

#446B0A (complementary), #0A146B (analogous), and #110325 (lighter shade) work well with #310A6B.