HSL(272, 90%, 35%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,90%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 90%, 35%) color: hsl(272, 90%, 35%)
HEX #5F09AA color: #5F09AA
RGB rgb(95, 9, 170) color: rgb(95, 9, 170)
CMYK cmyk(44%, 95%, 0%, 33%)
HSV hsv(272, 95%, 67%)
HWB hwb(272 3% 33%) color: hwb(272 3% 33%)
OKLCH oklch(0.4098 0.2138 299.16) color: oklch(0.4098 0.2138 299.16)
Lab lab(28.2 60.83 -65.17) color: lab(28.2 60.83 -65.17)
LCH lch(28.2 89.15 313.03) color: lch(28.2 89.15 313.03)

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 9.97:1
vs Black 2.11: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)

#3A3983 — rgb(58, 57, 131)

Deuteranopia (Green-blind)

#3F457A — rgb(63, 69, 122)

Tritanopia (Blue-blind)

#5B645E — rgb(91, 100, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 90%, 35%);

text

color: hsl(272, 90%, 35%);

border

border: 2px solid hsl(272, 90%, 35%);

gradient light

background: linear-gradient(to right, hsl(272, 90%, 55%), hsl(272, 90%, 35%));

gradient dark

background: linear-gradient(to right, hsl(272, 90%, 35%), hsl(272, 90%, 15%))

hex

background-color: #5F09AA;

tailwind

bg-[hsl(272,90%,35%)]

box shadow

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

css variable

--color-primary: hsl(272, 90%, 35%);

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, 90%, 35%)?

HEX: #5F09AA | RGB: rgb(95, 9, 170) | CMYK: 44%, 95%, 0%, 33% | HSV: 272°, 95%, 67%. Copy any format from the conversion table above.

What colors go well with #5F09AA?

The complementary color is HSL(92, 90%, 35%). 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, 90%, 35%) in CSS?

As HSL: color: hsl(272, 90%, 35%); — As HEX: color: #5F09AA; — As RGB: color: rgb(95, 9, 170); — Tailwind CSS: bg-[hsl(272,90%,35%)] — CSS variable: --color-primary: hsl(272, 90%, 35%);