HSL(280, 40%, 43%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(280, 40%, 43%) color: hsl(280, 40%, 43%)
HEX #7C429A color: #7C429A
RGB rgb(124, 66, 154) color: rgb(124, 66, 154)
CMYK cmyk(19%, 57%, 0%, 40%)
HSV hsv(280, 57%, 60%)
HWB hwb(280 26% 40%) color: hwb(280 26% 40%)
OKLCH oklch(0.4892 0.1456 312.67) color: oklch(0.4892 0.1456 312.67)
Lab lab(38.75 40.61 -38.22) color: lab(38.75 40.61 -38.22)
LCH lch(38.75 55.77 316.74) color: lch(38.75 55.77 316.74)

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 6.77:1
vs Black 3.1: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)

#636285 — rgb(99, 98, 133)

Deuteranopia (Green-blind)

#666B80 — rgb(102, 107, 128)

Tritanopia (Blue-blind)

#797470 — rgb(121, 116, 112)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(280, 40%, 63%), hsl(280, 40%, 43%));

gradient dark

background: linear-gradient(to right, hsl(280, 40%, 43%), hsl(280, 40%, 23%))

hex

background-color: #7C429A;

tailwind

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

box shadow

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

css variable

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

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%, 43%)?

HEX: #7C429A | RGB: rgb(124, 66, 154) | CMYK: 19%, 57%, 0%, 40% | HSV: 280°, 57%, 60%. Copy any format from the conversion table above.

What colors go well with #7C429A?

The complementary color is HSL(100, 40%, 43%). 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%, 43%) in CSS?

As HSL: color: hsl(280, 40%, 43%); — As HEX: color: #7C429A; — As RGB: color: rgb(124, 66, 154); — Tailwind CSS: bg-[hsl(280,40%,43%)] — CSS variable: --color-primary: hsl(280, 40%, 43%);