HSL(277, 37%, 48%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(277,37%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(277, 37%, 48%) color: hsl(277, 37%, 48%)
HEX #854DA8 color: #854DA8
RGB rgb(133, 77, 168) color: rgb(133, 77, 168)
CMYK cmyk(21%, 54%, 0%, 34%)
HSV hsv(277, 54%, 66%)
HWB hwb(277 30% 34%) color: hwb(277 30% 34%)
OKLCH oklch(0.5251 0.1473 310.72) color: oklch(0.5251 0.1473 310.72)
Lab lab(42.95 40.28 -39.86) color: lab(42.95 40.28 -39.86)
LCH lch(42.95 56.67 315.3) color: lch(42.95 56.67 315.3)

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.79:1
vs Black 3.62: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)

#6D6C92 — rgb(109, 108, 146)

Deuteranopia (Green-blind)

#70748D — rgb(112, 116, 141)

Tritanopia (Blue-blind)

#82817D — rgb(130, 129, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(277, 37%, 48%);

text

color: hsl(277, 37%, 48%);

border

border: 2px solid hsl(277, 37%, 48%);

gradient light

background: linear-gradient(to right, hsl(277, 37%, 68%), hsl(277, 37%, 48%));

gradient dark

background: linear-gradient(to right, hsl(277, 37%, 48%), hsl(277, 37%, 28%))

hex

background-color: #854DA8;

tailwind

bg-[hsl(277,37%,48%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(277, 37%, 48%, 0.4);

css variable

--color-primary: hsl(277, 37%, 48%);

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(277, 37%, 48%)?

HEX: #854DA8 | RGB: rgb(133, 77, 168) | CMYK: 21%, 54%, 0%, 34% | HSV: 277°, 54%, 66%. Copy any format from the conversion table above.

What colors go well with #854DA8?

The complementary color is HSL(97, 37%, 48%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(277, 37%, 48%) in CSS?

As HSL: color: hsl(277, 37%, 48%); — As HEX: color: #854DA8; — As RGB: color: rgb(133, 77, 168); — Tailwind CSS: bg-[hsl(277,37%,48%)] — CSS variable: --color-primary: hsl(277, 37%, 48%);