HSL(280, 40%, 30%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(280,40%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(280, 40%, 30%) color: hsl(280, 40%, 30%)
HEX #572E6B color: #572E6B
RGB rgb(87, 46, 107) color: rgb(87, 46, 107)
CMYK cmyk(19%, 57%, 0%, 58%)
HSV hsv(280, 57%, 42%)
HWB hwb(280 18% 58%) color: hwb(280 18% 58%)
OKLCH oklch(0.3822 0.1085 313.42) color: oklch(0.3822 0.1085 313.42)
Lab lab(26.85 30.32 -28.2) color: lab(26.85 30.32 -28.2)
LCH lch(26.85 41.41 317.07) color: lch(26.85 41.41 317.07)

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 10.46:1
vs Black 2.01: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)

#45455C — rgb(69, 69, 92)

Deuteranopia (Green-blind)

#484B59 — rgb(72, 75, 89)

Tritanopia (Blue-blind)

#55514E — rgb(85, 81, 78)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(280, 40%, 30%);

text

color: hsl(280, 40%, 30%);

border

border: 2px solid hsl(280, 40%, 30%);

gradient light

background: linear-gradient(to right, hsl(280, 40%, 50%), hsl(280, 40%, 30%));

gradient dark

background: linear-gradient(to right, hsl(280, 40%, 30%), hsl(280, 40%, 10%))

hex

background-color: #572E6B;

tailwind

bg-[hsl(280,40%,30%)]

box shadow

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

css variable

--color-primary: hsl(280, 40%, 30%);

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(280, 40%, 30%)?

HEX: #572E6B | RGB: rgb(87, 46, 107) | CMYK: 19%, 57%, 0%, 58% | HSV: 280°, 57%, 42%. Copy any format from the conversion table above.

What colors go well with #572E6B?

The complementary color is HSL(100, 40%, 30%). For a triadic harmony, use hues 280°, 40°, and 160°. For analogous combinations, try hues 250° and 310°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(280, 40%, 30%) in CSS?

As HSL: color: hsl(280, 40%, 30%); — As HEX: color: #572E6B; — As RGB: color: rgb(87, 46, 107); — Tailwind CSS: bg-[hsl(280,40%,30%)] — CSS variable: --color-primary: hsl(280, 40%, 30%);