HSL(281, 70%, 37%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(281,70%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(281, 70%, 37%) color: hsl(281, 70%, 37%)
HEX #771CA0 color: #771CA0
RGB rgb(119, 28, 160) color: rgb(119, 28, 160)
CMYK cmyk(26%, 83%, 0%, 37%)
HSV hsv(281, 83%, 63%)
HWB hwb(281 11% 37%) color: hwb(281 11% 37%)
OKLCH oklch(0.4439 0.1984 312.03) color: oklch(0.4439 0.1984 312.03)
Lab lab(32.46 57.47 -52) color: lab(32.46 57.47 -52)
LCH lch(32.46 77.5 317.86) color: lch(32.46 77.5 317.86)

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.54:1
vs Black 2.46: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)

#504F80 — rgb(80, 79, 128)

Deuteranopia (Green-blind)

#555C78 — rgb(85, 92, 120)

Tritanopia (Blue-blind)

#726761 — rgb(114, 103, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(281, 70%, 37%);

text

color: hsl(281, 70%, 37%);

border

border: 2px solid hsl(281, 70%, 37%);

gradient light

background: linear-gradient(to right, hsl(281, 70%, 57%), hsl(281, 70%, 37%));

gradient dark

background: linear-gradient(to right, hsl(281, 70%, 37%), hsl(281, 70%, 17%))

hex

background-color: #771CA0;

tailwind

bg-[hsl(281,70%,37%)]

box shadow

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

css variable

--color-primary: hsl(281, 70%, 37%);

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(281, 70%, 37%)?

HEX: #771CA0 | RGB: rgb(119, 28, 160) | CMYK: 26%, 83%, 0%, 37% | HSV: 281°, 83%, 63%. Copy any format from the conversion table above.

What colors go well with #771CA0?

The complementary color is HSL(101, 70%, 37%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(281, 70%, 37%) in CSS?

As HSL: color: hsl(281, 70%, 37%); — As HEX: color: #771CA0; — As RGB: color: rgb(119, 28, 160); — Tailwind CSS: bg-[hsl(281,70%,37%)] — CSS variable: --color-primary: hsl(281, 70%, 37%);