HSL(272, 100%, 32%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,100%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 100%, 32%) color: hsl(272, 100%, 32%)
HEX #5700A3 color: #5700A3
RGB rgb(87, 0, 163) color: rgb(87, 0, 163)
CMYK cmyk(47%, 100%, 0%, 36%)
HSV hsv(272, 100%, 64%)
HWB hwb(272 0% 36%) color: hwb(272 0% 36%)
OKLCH oklch(0.3889 0.2103 297.66) color: oklch(0.3889 0.2103 297.66)
Lab lab(25.77 60.15 -64.97) color: lab(25.77 60.15 -64.97)
LCH lch(25.77 88.54 312.79) color: lch(25.77 88.54 312.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 10.86:1
vs Black 1.93:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#31317C — rgb(49, 49, 124)

Deuteranopia (Green-blind)

#363D72 — rgb(54, 61, 114)

Tritanopia (Blue-blind)

#535C56 — rgb(83, 92, 86)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 100%, 32%);

text

color: hsl(272, 100%, 32%);

border

border: 2px solid hsl(272, 100%, 32%);

gradient light

background: linear-gradient(to right, hsl(272, 100%, 52%), hsl(272, 100%, 32%));

gradient dark

background: linear-gradient(to right, hsl(272, 100%, 32%), hsl(272, 100%, 12%))

hex

background-color: #5700A3;

tailwind

bg-[hsl(272,100%,32%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(272, 100%, 32%, 0.4);

css variable

--color-primary: hsl(272, 100%, 32%);

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(272, 100%, 32%)?

HEX: #5700A3 | RGB: rgb(87, 0, 163) | CMYK: 47%, 100%, 0%, 36% | HSV: 272°, 100%, 64%. Copy any format from the conversion table above.

What colors go well with #5700A3?

The complementary color is HSL(92, 100%, 32%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(272, 100%, 32%) in CSS?

As HSL: color: hsl(272, 100%, 32%); — As HEX: color: #5700A3; — As RGB: color: rgb(87, 0, 163); — Tailwind CSS: bg-[hsl(272,100%,32%)] — CSS variable: --color-primary: hsl(272, 100%, 32%);