HSL(271, 45%, 57%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(271,45%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(271, 45%, 57%) color: hsl(271, 45%, 57%)
HEX #9360C3 color: #9360C3
RGB rgb(147, 96, 195) color: rgb(147, 96, 195)
CMYK cmyk(25%, 51%, 0%, 24%)
HSV hsv(271, 51%, 76%)
HWB hwb(271 37% 24%) color: hwb(271 37% 24%)
OKLCH oklch(0.5865 0.1531 306.02) color: oklch(0.5865 0.1531 306.02)
Lab lab(50.11 39.89 -44.15) color: lab(50.11 39.89 -44.15)
LCH lch(50.11 59.5 312.1) color: lch(50.11 59.5 312.1)

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.47:1
vs Black 4.7: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)

#7D7CAB — rgb(125, 124, 171)

Deuteranopia (Green-blind)

#8084A5 — rgb(128, 132, 165)

Tritanopia (Blue-blind)

#909894 — rgb(144, 152, 148)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(271, 45%, 57%);

text

color: hsl(271, 45%, 57%);

border

border: 2px solid hsl(271, 45%, 57%);

gradient light

background: linear-gradient(to right, hsl(271, 45%, 77%), hsl(271, 45%, 57%));

gradient dark

background: linear-gradient(to right, hsl(271, 45%, 57%), hsl(271, 45%, 37%))

hex

background-color: #9360C3;

tailwind

bg-[hsl(271,45%,57%)]

box shadow

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

css variable

--color-primary: hsl(271, 45%, 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(271, 45%, 57%)?

HEX: #9360C3 | RGB: rgb(147, 96, 195) | CMYK: 25%, 51%, 0%, 24% | HSV: 271°, 51%, 76%. Copy any format from the conversion table above.

What colors go well with #9360C3?

The complementary color is HSL(91, 45%, 57%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(271, 45%, 57%) in CSS?

As HSL: color: hsl(271, 45%, 57%); — As HEX: color: #9360C3; — As RGB: color: rgb(147, 96, 195); — Tailwind CSS: bg-[hsl(271,45%,57%)] — CSS variable: --color-primary: hsl(271, 45%, 57%);