HSL(278, 66%, 59%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,66%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 66%, 59%) color: hsl(278, 66%, 59%)
HEX #A951DB color: #A951DB
RGB rgb(169, 81, 219) color: rgb(169, 81, 219)
CMYK cmyk(23%, 63%, 0%, 14%)
HSV hsv(278, 63%, 86%)
HWB hwb(278 32% 14%) color: hwb(278 32% 14%)
OKLCH oklch(0.6046 0.2092 311.05) color: oklch(0.6046 0.2092 311.05)
Lab lab(51.19 58.53 -55.99) color: lab(51.19 58.53 -55.99)
LCH lch(51.19 81 316.27) color: lch(51.19 81 316.27)

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 4.3:1
vs Black 4.89: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)

#8382BA — rgb(131, 130, 186)

Deuteranopia (Green-blind)

#888FB2 — rgb(136, 143, 178)

Tritanopia (Blue-blind)

#A59F99 — rgb(165, 159, 153)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 66%, 59%);

text

color: hsl(278, 66%, 59%);

border

border: 2px solid hsl(278, 66%, 59%);

gradient light

background: linear-gradient(to right, hsl(278, 66%, 79%), hsl(278, 66%, 59%));

gradient dark

background: linear-gradient(to right, hsl(278, 66%, 59%), hsl(278, 66%, 39%))

hex

background-color: #A951DB;

tailwind

bg-[hsl(278,66%,59%)]

box shadow

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

css variable

--color-primary: hsl(278, 66%, 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(278, 66%, 59%)?

HEX: #A951DB | RGB: rgb(169, 81, 219) | CMYK: 23%, 63%, 0%, 14% | HSV: 278°, 63%, 86%. Copy any format from the conversion table above.

What colors go well with #A951DB?

The complementary color is HSL(98, 66%, 59%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 66%, 59%) in CSS?

As HSL: color: hsl(278, 66%, 59%); — As HEX: color: #A951DB; — As RGB: color: rgb(169, 81, 219); — Tailwind CSS: bg-[hsl(278,66%,59%)] — CSS variable: --color-primary: hsl(278, 66%, 59%);