HSL(281, 71%, 51%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(281,71%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(281, 71%, 51%) color: hsl(281, 71%, 51%)
HEX #A329DB color: #A329DB
RGB rgb(163, 41, 219) color: rgb(163, 41, 219)
CMYK cmyk(26%, 81%, 0%, 14%)
HSV hsv(281, 81%, 86%)
HWB hwb(281 16% 14%) color: hwb(281 16% 14%)
OKLCH oklch(0.5583 0.2513 311.72) color: oklch(0.5583 0.2513 311.72)
Lab lab(44.92 72.76 -66.15) color: lab(44.92 72.76 -66.15)
LCH lch(44.92 98.34 317.72) color: lch(44.92 98.34 317.72)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 5.39:1
vs Black 3.9:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6E6DB0 — rgb(110, 109, 176)

Deuteranopia (Green-blind)

#757EA6 — rgb(117, 126, 166)

Tritanopia (Blue-blind)

#9D8E86 — rgb(157, 142, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(281, 71%, 51%);

text

color: hsl(281, 71%, 51%);

border

border: 2px solid hsl(281, 71%, 51%);

gradient light

background: linear-gradient(to right, hsl(281, 71%, 71%), hsl(281, 71%, 51%));

gradient dark

background: linear-gradient(to right, hsl(281, 71%, 51%), hsl(281, 71%, 31%))

hex

background-color: #A329DB;

tailwind

bg-[hsl(281,71%,51%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(281, 71%, 51%, 0.4);

css variable

--color-primary: hsl(281, 71%, 51%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(281, 71%, 51%)?

HEX: #A329DB | RGB: rgb(163, 41, 219) | CMYK: 26%, 81%, 0%, 14% | HSV: 281°, 81%, 86%. Copy any format from the conversion table above.

What colors go well with #A329DB?

The complementary color is HSL(101, 71%, 51%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(281, 71%, 51%) in CSS?

As HSL: color: hsl(281, 71%, 51%); — As HEX: color: #A329DB; — As RGB: color: rgb(163, 41, 219); — Tailwind CSS: bg-[hsl(281,71%,51%)] — CSS variable: --color-primary: hsl(281, 71%, 51%);