HSL(272, 43%, 62%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,43%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 43%, 62%) color: hsl(272, 43%, 62%)
HEX #A174C8 color: #A174C8
RGB rgb(161, 116, 200) color: rgb(161, 116, 200)
CMYK cmyk(20%, 42%, 0%, 22%)
HSV hsv(272, 42%, 78%)
HWB hwb(272 45% 22%) color: hwb(272 45% 22%)
OKLCH oklch(0.6372 0.1304 307.76) color: oklch(0.6372 0.1304 307.76)
Lab lab(56.33 33.78 -37.11) color: lab(56.33 33.78 -37.11)
LCH lch(56.33 50.18 312.31) color: lch(56.33 50.18 312.31)

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 3.59:1
vs Black 5.85:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8E8DB4 — rgb(142, 141, 180)

Deuteranopia (Green-blind)

#9094AF — rgb(144, 148, 175)

Tritanopia (Blue-blind)

#9FA4A0 — rgb(159, 164, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 43%, 62%);

text

color: hsl(272, 43%, 62%);

border

border: 2px solid hsl(272, 43%, 62%);

gradient light

background: linear-gradient(to right, hsl(272, 43%, 82%), hsl(272, 43%, 62%));

gradient dark

background: linear-gradient(to right, hsl(272, 43%, 62%), hsl(272, 43%, 42%))

hex

background-color: #A174C8;

tailwind

bg-[hsl(272,43%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(272, 43%, 62%, 0.4);

css variable

--color-primary: hsl(272, 43%, 62%);

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(272, 43%, 62%)?

HEX: #A174C8 | RGB: rgb(161, 116, 200) | CMYK: 20%, 42%, 0%, 22% | HSV: 272°, 42%, 78%. Copy any format from the conversion table above.

What colors go well with #A174C8?

The complementary color is HSL(92, 43%, 62%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(272, 43%, 62%) in CSS?

As HSL: color: hsl(272, 43%, 62%); — As HEX: color: #A174C8; — As RGB: color: rgb(161, 116, 200); — Tailwind CSS: bg-[hsl(272,43%,62%)] — CSS variable: --color-primary: hsl(272, 43%, 62%);