HSL(282, 40%, 59%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(282,40%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 40%, 59%) color: hsl(282, 40%, 59%)
HEX #A76DC0 color: #A76DC0
RGB rgb(167, 109, 192) color: rgb(167, 109, 192)
CMYK cmyk(13%, 43%, 0%, 25%)
HSV hsv(282, 43%, 75%)
HWB hwb(282 43% 25%) color: hwb(282 43% 25%)
OKLCH oklch(0.6277 0.1353 315.1) color: oklch(0.6277 0.1353 315.1)
Lab lab(55.03 37.7 -34.52) color: lab(55.03 37.7 -34.52)
LCH lch(55.03 51.12 317.52) color: lch(55.03 51.12 317.52)

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.76:1
vs Black 5.59: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)

#8E8DAC — rgb(142, 141, 172)

Deuteranopia (Green-blind)

#9196A7 — rgb(145, 150, 167)

Tritanopia (Blue-blind)

#A49C99 — rgb(164, 156, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 40%, 59%);

text

color: hsl(282, 40%, 59%);

border

border: 2px solid hsl(282, 40%, 59%);

gradient light

background: linear-gradient(to right, hsl(282, 40%, 79%), hsl(282, 40%, 59%));

gradient dark

background: linear-gradient(to right, hsl(282, 40%, 59%), hsl(282, 40%, 39%))

hex

background-color: #A76DC0;

tailwind

bg-[hsl(282,40%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(282, 40%, 59%, 0.4);

css variable

--color-primary: hsl(282, 40%, 59%);

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(282, 40%, 59%)?

HEX: #A76DC0 | RGB: rgb(167, 109, 192) | CMYK: 13%, 43%, 0%, 25% | HSV: 282°, 43%, 75%. Copy any format from the conversion table above.

What colors go well with #A76DC0?

The complementary color is HSL(102, 40%, 59%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(282, 40%, 59%) in CSS?

As HSL: color: hsl(282, 40%, 59%); — As HEX: color: #A76DC0; — As RGB: color: rgb(167, 109, 192); — Tailwind CSS: bg-[hsl(282,40%,59%)] — CSS variable: --color-primary: hsl(282, 40%, 59%);