HSL(278, 35%, 55%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,35%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 35%, 55%) color: hsl(278, 35%, 55%)
HEX #9764B4 color: #9764B4
RGB rgb(151, 100, 180) color: rgb(151, 100, 180)
CMYK cmyk(16%, 44%, 0%, 29%)
HSV hsv(278, 44%, 71%)
HWB hwb(278 40% 29%) color: hwb(278 40% 29%)
OKLCH oklch(0.5892 0.1297 312.33) color: oklch(0.5892 0.1297 312.33)
Lab lab(50.67 35.33 -34.56) color: lab(50.67 35.33 -34.56)
LCH lch(50.67 49.42 315.63) color: lch(50.67 49.42 315.63)

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 4.38:1
vs Black 4.8:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8180A1 — rgb(129, 128, 161)

Deuteranopia (Green-blind)

#84889C — rgb(132, 136, 156)

Tritanopia (Blue-blind)

#94918E — rgb(148, 145, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 35%, 55%);

text

color: hsl(278, 35%, 55%);

border

border: 2px solid hsl(278, 35%, 55%);

gradient light

background: linear-gradient(to right, hsl(278, 35%, 75%), hsl(278, 35%, 55%));

gradient dark

background: linear-gradient(to right, hsl(278, 35%, 55%), hsl(278, 35%, 35%))

hex

background-color: #9764B4;

tailwind

bg-[hsl(278,35%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 35%, 55%, 0.4);

css variable

--color-primary: hsl(278, 35%, 55%);

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(278, 35%, 55%)?

HEX: #9764B4 | RGB: rgb(151, 100, 180) | CMYK: 16%, 44%, 0%, 29% | HSV: 278°, 44%, 71%. Copy any format from the conversion table above.

What colors go well with #9764B4?

The complementary color is HSL(98, 35%, 55%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 35%, 55%) in CSS?

As HSL: color: hsl(278, 35%, 55%); — As HEX: color: #9764B4; — As RGB: color: rgb(151, 100, 180); — Tailwind CSS: bg-[hsl(278,35%,55%)] — CSS variable: --color-primary: hsl(278, 35%, 55%);