HSL(273, 68%, 59%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(273,68%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(273, 68%, 59%) color: hsl(273, 68%, 59%)
HEX #9E4FDE color: #9E4FDE
RGB rgb(158, 79, 222) color: rgb(158, 79, 222)
CMYK cmyk(29%, 64%, 0%, 13%)
HSV hsv(273, 64%, 87%)
HWB hwb(273 31% 13%) color: hwb(273 31% 13%)
OKLCH oklch(0.5912 0.2118 306.35) color: oklch(0.5912 0.2118 306.35)
Lab lab(49.66 57.71 -60.23) color: lab(49.66 57.71 -60.23)
LCH lch(49.66 83.42 313.78) color: lch(49.66 83.42 313.78)

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.54:1
vs Black 4.63:1

AA Normal (4.5:1)

on White: PASS ✓ 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)

#7C7BBB — rgb(124, 123, 187)

Deuteranopia (Green-blind)

#8086B3 — rgb(128, 134, 179)

Tritanopia (Blue-blind)

#9AA09A — rgb(154, 160, 154)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(273, 68%, 59%);

text

color: hsl(273, 68%, 59%);

border

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

gradient light

background: linear-gradient(to right, hsl(273, 68%, 79%), hsl(273, 68%, 59%));

gradient dark

background: linear-gradient(to right, hsl(273, 68%, 59%), hsl(273, 68%, 39%))

hex

background-color: #9E4FDE;

tailwind

bg-[hsl(273,68%,59%)]

box shadow

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

css variable

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

HEX: #9E4FDE | RGB: rgb(158, 79, 222) | CMYK: 29%, 64%, 0%, 13% | HSV: 273°, 64%, 87%. Copy any format from the conversion table above.

What colors go well with #9E4FDE?

The complementary color is HSL(93, 68%, 59%). 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, 68%, 59%) in CSS?

As HSL: color: hsl(273, 68%, 59%); — As HEX: color: #9E4FDE; — As RGB: color: rgb(158, 79, 222); — Tailwind CSS: bg-[hsl(273,68%,59%)] — CSS variable: --color-primary: hsl(273, 68%, 59%);