HSL(273, 60%, 60%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(273,60%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(273, 60%, 60%) color: hsl(273, 60%, 60%)
HEX #9F5CD6 color: #9F5CD6
RGB rgb(159, 92, 214) color: rgb(159, 92, 214)
CMYK cmyk(26%, 57%, 0%, 16%)
HSV hsv(273, 57%, 84%)
HWB hwb(273 36% 16%) color: hwb(273 36% 16%)
OKLCH oklch(0.6047 0.185 307.07) color: oklch(0.6047 0.185 307.07)
Lab lab(51.7 49.6 -52.4) color: lab(51.7 49.6 -52.4)
LCH lch(51.7 72.15 313.43) color: lch(51.7 72.15 313.43)

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.22:1
vs Black 4.98: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)

#8281B8 — rgb(130, 129, 184)

Deuteranopia (Green-blind)

#868BB1 — rgb(134, 139, 177)

Tritanopia (Blue-blind)

#9CA19C — rgb(156, 161, 156)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(273, 60%, 60%);

text

color: hsl(273, 60%, 60%);

border

border: 2px solid hsl(273, 60%, 60%);

gradient light

background: linear-gradient(to right, hsl(273, 60%, 80%), hsl(273, 60%, 60%));

gradient dark

background: linear-gradient(to right, hsl(273, 60%, 60%), hsl(273, 60%, 40%))

hex

background-color: #9F5CD6;

tailwind

bg-[hsl(273,60%,60%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(273, 60%, 60%, 0.4);

css variable

--color-primary: hsl(273, 60%, 60%);

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(273, 60%, 60%)?

HEX: #9F5CD6 | RGB: rgb(159, 92, 214) | CMYK: 26%, 57%, 0%, 16% | HSV: 273°, 57%, 84%. Copy any format from the conversion table above.

What colors go well with #9F5CD6?

The complementary color is HSL(93, 60%, 60%). For a triadic harmony, use hues 273°, 33°, and 153°. For analogous combinations, try hues 243° and 303°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(273, 60%, 60%) in CSS?

As HSL: color: hsl(273, 60%, 60%); — As HEX: color: #9F5CD6; — As RGB: color: rgb(159, 92, 214); — Tailwind CSS: bg-[hsl(273,60%,60%)] — CSS variable: --color-primary: hsl(273, 60%, 60%);