HSL(275, 50%, 62%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(275,50%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(275, 50%, 62%) color: hsl(275, 50%, 62%)
HEX #A66ECF color: #A66ECF
RGB rgb(166, 110, 207) color: rgb(166, 110, 207)
CMYK cmyk(20%, 47%, 0%, 19%)
HSV hsv(275, 47%, 81%)
HWB hwb(275 43% 19%) color: hwb(275 43% 19%)
OKLCH oklch(0.6359 0.1507 309.36) color: oklch(0.6359 0.1507 309.36)
Lab lab(55.85 40.16 -41.79) color: lab(55.85 40.16 -41.79)
LCH lch(55.85 57.96 313.86) color: lch(55.85 57.96 313.86)

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.65:1
vs Black 5.75: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)

#8E8DB8 — rgb(142, 141, 184)

Deuteranopia (Green-blind)

#9195B2 — rgb(145, 149, 178)

Tritanopia (Blue-blind)

#A3A5A1 — rgb(163, 165, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(275, 50%, 62%);

text

color: hsl(275, 50%, 62%);

border

border: 2px solid hsl(275, 50%, 62%);

gradient light

background: linear-gradient(to right, hsl(275, 50%, 82%), hsl(275, 50%, 62%));

gradient dark

background: linear-gradient(to right, hsl(275, 50%, 62%), hsl(275, 50%, 42%))

hex

background-color: #A66ECF;

tailwind

bg-[hsl(275,50%,62%)]

box shadow

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

css variable

--color-primary: hsl(275, 50%, 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(275, 50%, 62%)?

HEX: #A66ECF | RGB: rgb(166, 110, 207) | CMYK: 20%, 47%, 0%, 19% | HSV: 275°, 47%, 81%. Copy any format from the conversion table above.

What colors go well with #A66ECF?

The complementary color is HSL(95, 50%, 62%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(275, 50%, 62%) in CSS?

As HSL: color: hsl(275, 50%, 62%); — As HEX: color: #A66ECF; — As RGB: color: rgb(166, 110, 207); — Tailwind CSS: bg-[hsl(275,50%,62%)] — CSS variable: --color-primary: hsl(275, 50%, 62%);