HSL(276, 72%, 54%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(276,72%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(276, 72%, 54%) color: hsl(276, 72%, 54%)
HEX #9B35DE color: #9B35DE
RGB rgb(155, 53, 222) color: rgb(155, 53, 222)
CMYK cmyk(30%, 76%, 0%, 13%)
HSV hsv(276, 76%, 87%)
HWB hwb(276 21% 13%) color: hwb(276 21% 13%)
OKLCH oklch(0.5596 0.2412 307.6) color: oklch(0.5596 0.2412 307.6)
Lab lab(45.34 68.17 -67.24) color: lab(45.34 68.17 -67.24)
LCH lch(45.34 95.75 315.39) color: lch(45.34 95.75 315.39)

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.31:1
vs Black 3.96: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)

#6F6EB5 — rgb(111, 110, 181)

Deuteranopia (Green-blind)

#757CAB — rgb(117, 124, 171)

Tritanopia (Blue-blind)

#96958E — rgb(150, 149, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(276, 72%, 54%);

text

color: hsl(276, 72%, 54%);

border

border: 2px solid hsl(276, 72%, 54%);

gradient light

background: linear-gradient(to right, hsl(276, 72%, 74%), hsl(276, 72%, 54%));

gradient dark

background: linear-gradient(to right, hsl(276, 72%, 54%), hsl(276, 72%, 34%))

hex

background-color: #9B35DE;

tailwind

bg-[hsl(276,72%,54%)]

box shadow

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

css variable

--color-primary: hsl(276, 72%, 54%);

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, 72%, 54%)?

HEX: #9B35DE | RGB: rgb(155, 53, 222) | CMYK: 30%, 76%, 0%, 13% | HSV: 276°, 76%, 87%. Copy any format from the conversion table above.

What colors go well with #9B35DE?

The complementary color is HSL(96, 72%, 54%). 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, 72%, 54%) in CSS?

As HSL: color: hsl(276, 72%, 54%); — As HEX: color: #9B35DE; — As RGB: color: rgb(155, 53, 222); — Tailwind CSS: bg-[hsl(276,72%,54%)] — CSS variable: --color-primary: hsl(276, 72%, 54%);