HSL(283, 28%, 54%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(283,28%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 28%, 54%) color: hsl(283, 28%, 54%)
HEX #9869AB color: #9869AB
RGB rgb(152, 105, 171) color: rgb(152, 105, 171)
CMYK cmyk(11%, 39%, 0%, 33%)
HSV hsv(283, 39%, 67%)
HWB hwb(283 41% 33%) color: hwb(283 41% 33%)
OKLCH oklch(0.5945 0.1106 315.82) color: oklch(0.5945 0.1106 315.82)
Lab lab(51.52 30.82 -28) color: lab(51.52 30.82 -28)
LCH lch(51.52 41.64 317.74) color: lch(51.52 41.64 317.74)

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.25:1
vs Black 4.94: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)

#84839B — rgb(132, 131, 155)

Deuteranopia (Green-blind)

#868A97 — rgb(134, 138, 151)

Tritanopia (Blue-blind)

#968E8C — rgb(150, 142, 140)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 28%, 54%);

text

color: hsl(283, 28%, 54%);

border

border: 2px solid hsl(283, 28%, 54%);

gradient light

background: linear-gradient(to right, hsl(283, 28%, 74%), hsl(283, 28%, 54%));

gradient dark

background: linear-gradient(to right, hsl(283, 28%, 54%), hsl(283, 28%, 34%))

hex

background-color: #9869AB;

tailwind

bg-[hsl(283,28%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(283, 28%, 54%, 0.4);

css variable

--color-primary: hsl(283, 28%, 54%);

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(283, 28%, 54%)?

HEX: #9869AB | RGB: rgb(152, 105, 171) | CMYK: 11%, 39%, 0%, 33% | HSV: 283°, 39%, 67%. Copy any format from the conversion table above.

What colors go well with #9869AB?

The complementary color is HSL(103, 28%, 54%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(283, 28%, 54%) in CSS?

As HSL: color: hsl(283, 28%, 54%); — As HEX: color: #9869AB; — As RGB: color: rgb(152, 105, 171); — Tailwind CSS: bg-[hsl(283,28%,54%)] — CSS variable: --color-primary: hsl(283, 28%, 54%);