HSL(276, 60%, 40%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(276,60%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(276, 60%, 40%) color: hsl(276, 60%, 40%)
HEX #7229A3 color: #7229A3
RGB rgb(114, 41, 163) color: rgb(114, 41, 163)
CMYK cmyk(30%, 75%, 0%, 36%)
HSV hsv(276, 75%, 64%)
HWB hwb(276 16% 36%) color: hwb(276 16% 36%)
OKLCH oklch(0.4509 0.1868 307.72) color: oklch(0.4509 0.1868 307.72)
Lab lab(33.58 52.49 -52.04) color: lab(33.58 52.49 -52.04)
LCH lch(33.58 73.91 315.25) color: lch(33.58 73.91 315.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 8.2:1
vs Black 2.56: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)

#525285 — rgb(82, 82, 133)

Deuteranopia (Green-blind)

#575C7E — rgb(87, 92, 126)

Tritanopia (Blue-blind)

#6E6E69 — rgb(110, 110, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(276, 60%, 40%);

text

color: hsl(276, 60%, 40%);

border

border: 2px solid hsl(276, 60%, 40%);

gradient light

background: linear-gradient(to right, hsl(276, 60%, 60%), hsl(276, 60%, 40%));

gradient dark

background: linear-gradient(to right, hsl(276, 60%, 40%), hsl(276, 60%, 20%))

hex

background-color: #7229A3;

tailwind

bg-[hsl(276,60%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(276, 60%, 40%, 0.4);

css variable

--color-primary: hsl(276, 60%, 40%);

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(276, 60%, 40%)?

HEX: #7229A3 | RGB: rgb(114, 41, 163) | CMYK: 30%, 75%, 0%, 36% | HSV: 276°, 75%, 64%. Copy any format from the conversion table above.

What colors go well with #7229A3?

The complementary color is HSL(96, 60%, 40%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(276, 60%, 40%) in CSS?

As HSL: color: hsl(276, 60%, 40%); — As HEX: color: #7229A3; — As RGB: color: rgb(114, 41, 163); — Tailwind CSS: bg-[hsl(276,60%,40%)] — CSS variable: --color-primary: hsl(276, 60%, 40%);