HSL(278, 20%, 47%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,20%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 20%, 47%) color: hsl(278, 20%, 47%)
HEX #7E6090 color: #7E6090
RGB rgb(126, 96, 144) color: rgb(126, 96, 144)
CMYK cmyk(13%, 33%, 0%, 44%)
HSV hsv(278, 33%, 56%)
HWB hwb(278 38% 44%) color: hwb(278 38% 44%)
OKLCH oklch(0.5377 0.0809 312.3) color: oklch(0.5377 0.0809 312.3)
Lab lab(45.38 21.6 -21.81) color: lab(45.38 21.6 -21.81)
LCH lch(45.38 30.7 314.72) color: lch(45.38 30.7 314.72)

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.3:1
vs Black 3.96: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)

#717184 — rgb(113, 113, 132)

Deuteranopia (Green-blind)

#737582 — rgb(115, 117, 130)

Tritanopia (Blue-blind)

#7D7B79 — rgb(125, 123, 121)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 20%, 47%);

text

color: hsl(278, 20%, 47%);

border

border: 2px solid hsl(278, 20%, 47%);

gradient light

background: linear-gradient(to right, hsl(278, 20%, 67%), hsl(278, 20%, 47%));

gradient dark

background: linear-gradient(to right, hsl(278, 20%, 47%), hsl(278, 20%, 27%))

hex

background-color: #7E6090;

tailwind

bg-[hsl(278,20%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 20%, 47%, 0.4);

css variable

--color-primary: hsl(278, 20%, 47%);

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(278, 20%, 47%)?

HEX: #7E6090 | RGB: rgb(126, 96, 144) | CMYK: 13%, 33%, 0%, 44% | HSV: 278°, 33%, 56%. Copy any format from the conversion table above.

What colors go well with #7E6090?

The complementary color is HSL(98, 20%, 47%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 20%, 47%) in CSS?

As HSL: color: hsl(278, 20%, 47%); — As HEX: color: #7E6090; — As RGB: color: rgb(126, 96, 144); — Tailwind CSS: bg-[hsl(278,20%,47%)] — CSS variable: --color-primary: hsl(278, 20%, 47%);