HSL(266, 68%, 53%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(266,68%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 68%, 53%) color: hsl(266, 68%, 53%)
HEX #7C36D9 color: #7C36D9
RGB rgb(124, 54, 217) color: rgb(124, 54, 217)
CMYK cmyk(43%, 75%, 0%, 15%)
HSV hsv(266, 75%, 85%)
HWB hwb(266 21% 15%) color: hwb(266 21% 15%)
OKLCH oklch(0.5201 0.2298 297.11) color: oklch(0.5201 0.2298 297.11)
Lab lab(41.11 61.54 -71.45) color: lab(41.11 61.54 -71.45)
LCH lch(41.11 94.3 310.74) color: lch(41.11 94.3 310.74)

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 6.2:1
vs Black 3.39: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)

#5E5DB2 — rgb(94, 93, 178)

Deuteranopia (Green-blind)

#6267A8 — rgb(98, 103, 168)

Tritanopia (Blue-blind)

#79928C — rgb(121, 146, 140)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 68%, 53%);

text

color: hsl(266, 68%, 53%);

border

border: 2px solid hsl(266, 68%, 53%);

gradient light

background: linear-gradient(to right, hsl(266, 68%, 73%), hsl(266, 68%, 53%));

gradient dark

background: linear-gradient(to right, hsl(266, 68%, 53%), hsl(266, 68%, 33%))

hex

background-color: #7C36D9;

tailwind

bg-[hsl(266,68%,53%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(266, 68%, 53%, 0.4);

css variable

--color-primary: hsl(266, 68%, 53%);

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(266, 68%, 53%)?

HEX: #7C36D9 | RGB: rgb(124, 54, 217) | CMYK: 43%, 75%, 0%, 15% | HSV: 266°, 75%, 85%. Copy any format from the conversion table above.

What colors go well with #7C36D9?

The complementary color is HSL(86, 68%, 53%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(266, 68%, 53%) in CSS?

As HSL: color: hsl(266, 68%, 53%); — As HEX: color: #7C36D9; — As RGB: color: rgb(124, 54, 217); — Tailwind CSS: bg-[hsl(266,68%,53%)] — CSS variable: --color-primary: hsl(266, 68%, 53%);