HSL(273, 70%, 57%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(273,70%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(273, 70%, 57%) color: hsl(273, 70%, 57%)
HEX #9945DE color: #9945DE
RGB rgb(153, 69, 222) color: rgb(153, 69, 222)
CMYK cmyk(31%, 69%, 0%, 13%)
HSV hsv(273, 69%, 87%)
HWB hwb(273 27% 13%) color: hwb(273 27% 13%)
OKLCH oklch(0.5734 0.2232 305.53) color: oklch(0.5734 0.2232 305.53)
Lab lab(47.37 61.31 -63.96) color: lab(47.37 61.31 -63.96)
LCH lch(47.37 88.6 313.79) color: lch(47.37 88.6 313.79)

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.93:1
vs Black 4.26:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7574B9 — rgb(117, 116, 185)

Deuteranopia (Green-blind)

#7A80B0 — rgb(122, 128, 176)

Tritanopia (Blue-blind)

#959C95 — rgb(149, 156, 149)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(273, 70%, 57%);

text

color: hsl(273, 70%, 57%);

border

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

gradient light

background: linear-gradient(to right, hsl(273, 70%, 77%), hsl(273, 70%, 57%));

gradient dark

background: linear-gradient(to right, hsl(273, 70%, 57%), hsl(273, 70%, 37%))

hex

background-color: #9945DE;

tailwind

bg-[hsl(273,70%,57%)]

box shadow

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

css variable

--color-primary: hsl(273, 70%, 57%);

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, 70%, 57%)?

HEX: #9945DE | RGB: rgb(153, 69, 222) | CMYK: 31%, 69%, 0%, 13% | HSV: 273°, 69%, 87%. Copy any format from the conversion table above.

What colors go well with #9945DE?

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

As HSL: color: hsl(273, 70%, 57%); — As HEX: color: #9945DE; — As RGB: color: rgb(153, 69, 222); — Tailwind CSS: bg-[hsl(273,70%,57%)] — CSS variable: --color-primary: hsl(273, 70%, 57%);