HSL(269, 72%, 36%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(269,72%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(269, 72%, 36%) color: hsl(269, 72%, 36%)
HEX #5A1A9E color: #5A1A9E
RGB rgb(90, 26, 158) color: rgb(90, 26, 158)
CMYK cmyk(43%, 84%, 0%, 38%)
HSV hsv(269, 84%, 62%)
HWB hwb(269 10% 38%) color: hwb(269 10% 38%)
OKLCH oklch(0.402 0.1917 298.98) color: oklch(0.402 0.1917 298.98)
Lab lab(27.79 53.08 -58.58) color: lab(27.79 53.08 -58.58)
LCH lch(27.79 79.05 312.18) color: lch(27.79 79.05 312.18)

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.11:1
vs Black 2.08: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)

#3E3E7E — rgb(62, 62, 126)

Deuteranopia (Green-blind)

#424776 — rgb(66, 71, 118)

Tritanopia (Blue-blind)

#57655F — rgb(87, 101, 95)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(269, 72%, 36%);

text

color: hsl(269, 72%, 36%);

border

border: 2px solid hsl(269, 72%, 36%);

gradient light

background: linear-gradient(to right, hsl(269, 72%, 56%), hsl(269, 72%, 36%));

gradient dark

background: linear-gradient(to right, hsl(269, 72%, 36%), hsl(269, 72%, 16%))

hex

background-color: #5A1A9E;

tailwind

bg-[hsl(269,72%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(269, 72%, 36%, 0.4);

css variable

--color-primary: hsl(269, 72%, 36%);

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(269, 72%, 36%)?

HEX: #5A1A9E | RGB: rgb(90, 26, 158) | CMYK: 43%, 84%, 0%, 38% | HSV: 269°, 84%, 62%. Copy any format from the conversion table above.

What colors go well with #5A1A9E?

The complementary color is HSL(89, 72%, 36%). For a triadic harmony, use hues 269°, 29°, and 149°. For analogous combinations, try hues 239° and 299°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(269, 72%, 36%) in CSS?

As HSL: color: hsl(269, 72%, 36%); — As HEX: color: #5A1A9E; — As RGB: color: rgb(90, 26, 158); — Tailwind CSS: bg-[hsl(269,72%,36%)] — CSS variable: --color-primary: hsl(269, 72%, 36%);