HSL(283, 73%, 40%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(283,73%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 73%, 40%) color: hsl(283, 73%, 40%)
HEX #861CB0 color: #861CB0
RGB rgb(134, 28, 176) color: rgb(134, 28, 176)
CMYK cmyk(24%, 84%, 0%, 31%)
HSV hsv(283, 84%, 69%)
HWB hwb(283 11% 31%) color: hwb(283 11% 31%)
OKLCH oklch(0.4775 0.2168 313.34) color: oklch(0.4775 0.2168 313.34)
Lab lab(36.05 63.21 -55.68) color: lab(36.05 63.21 -55.68)
LCH lch(36.05 84.24 318.62) color: lch(36.05 84.24 318.62)

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 7.48:1
vs Black 2.81: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)

#58578C — rgb(88, 87, 140)

Deuteranopia (Green-blind)

#5E6684 — rgb(94, 102, 132)

Tritanopia (Blue-blind)

#81706A — rgb(129, 112, 106)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 73%, 40%);

text

color: hsl(283, 73%, 40%);

border

border: 2px solid hsl(283, 73%, 40%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(283, 73%, 40%), hsl(283, 73%, 20%))

hex

background-color: #861CB0;

tailwind

bg-[hsl(283,73%,40%)]

box shadow

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

css variable

--color-primary: hsl(283, 73%, 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(283, 73%, 40%)?

HEX: #861CB0 | RGB: rgb(134, 28, 176) | CMYK: 24%, 84%, 0%, 31% | HSV: 283°, 84%, 69%. Copy any format from the conversion table above.

What colors go well with #861CB0?

The complementary color is HSL(103, 73%, 40%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(283, 73%, 40%) in CSS?

As HSL: color: hsl(283, 73%, 40%); — As HEX: color: #861CB0; — As RGB: color: rgb(134, 28, 176); — Tailwind CSS: bg-[hsl(283,73%,40%)] — CSS variable: --color-primary: hsl(283, 73%, 40%);