HSL(264, 29%, 52%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(264,29%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(264, 29%, 52%) color: hsl(264, 29%, 52%)
HEX #7E61A8 color: #7E61A8
RGB rgb(126, 97, 168) color: rgb(126, 97, 168)
CMYK cmyk(25%, 42%, 0%, 34%)
HSV hsv(265, 42%, 66%)
HWB hwb(265 38% 34%) color: hwb(265 38% 34%)
OKLCH oklch(0.5515 0.1112 301.7) color: oklch(0.5515 0.1112 301.7)
Lab lab(46.73 26.75 -33.93) color: lab(46.73 26.75 -33.93)
LCH lch(46.73 43.21 308.25) color: lch(46.73 43.21 308.25)

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 5.05:1
vs Black 4.16: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)

#717197 — rgb(113, 113, 151)

Deuteranopia (Green-blind)

#737593 — rgb(115, 117, 147)

Tritanopia (Blue-blind)

#7D8986 — rgb(125, 137, 134)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(264, 29%, 52%);

text

color: hsl(264, 29%, 52%);

border

border: 2px solid hsl(264, 29%, 52%);

gradient light

background: linear-gradient(to right, hsl(264, 29%, 72%), hsl(264, 29%, 52%));

gradient dark

background: linear-gradient(to right, hsl(264, 29%, 52%), hsl(264, 29%, 32%))

hex

background-color: #7E61A8;

tailwind

bg-[hsl(264,29%,52%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(264, 29%, 52%, 0.4);

css variable

--color-primary: hsl(264, 29%, 52%);

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(264, 29%, 52%)?

HEX: #7E61A8 | RGB: rgb(126, 97, 168) | CMYK: 25%, 42%, 0%, 34% | HSV: 265°, 42%, 66%. Copy any format from the conversion table above.

What colors go well with #7E61A8?

The complementary color is HSL(84, 29%, 52%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(264, 29%, 52%) in CSS?

As HSL: color: hsl(264, 29%, 52%); — As HEX: color: #7E61A8; — As RGB: color: rgb(126, 97, 168); — Tailwind CSS: bg-[hsl(264,29%,52%)] — CSS variable: --color-primary: hsl(264, 29%, 52%);