HSL(283, 20%, 46%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(283,20%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 20%, 46%) color: hsl(283, 20%, 46%)
HEX #7F5E8D color: #7F5E8D
RGB rgb(127, 94, 141) color: rgb(127, 94, 141)
CMYK cmyk(10%, 33%, 0%, 45%)
HSV hsv(282, 33%, 55%)
HWB hwb(282 37% 45%) color: hwb(282 37% 45%)
OKLCH oklch(0.5335 0.0813 315.54) color: oklch(0.5335 0.0813 315.54)
Lab lab(44.86 22.46 -20.81) color: lab(44.86 22.46 -20.81)
LCH lch(44.86 30.62 317.18) color: lch(44.86 30.62 317.18)

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.4:1
vs Black 3.89: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)

#717082 — rgb(113, 112, 130)

Deuteranopia (Green-blind)

#73757F — rgb(115, 117, 127)

Tritanopia (Blue-blind)

#7D7977 — rgb(125, 121, 119)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 20%, 46%);

text

color: hsl(283, 20%, 46%);

border

border: 2px solid hsl(283, 20%, 46%);

gradient light

background: linear-gradient(to right, hsl(283, 20%, 66%), hsl(283, 20%, 46%));

gradient dark

background: linear-gradient(to right, hsl(283, 20%, 46%), hsl(283, 20%, 26%))

hex

background-color: #7F5E8D;

tailwind

bg-[hsl(283,20%,46%)]

box shadow

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

css variable

--color-primary: hsl(283, 20%, 46%);

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

HEX: #7F5E8D | RGB: rgb(127, 94, 141) | CMYK: 10%, 33%, 0%, 45% | HSV: 282°, 33%, 55%. Copy any format from the conversion table above.

What colors go well with #7F5E8D?

The complementary color is HSL(103, 20%, 46%). 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, 20%, 46%) in CSS?

As HSL: color: hsl(283, 20%, 46%); — As HEX: color: #7F5E8D; — As RGB: color: rgb(127, 94, 141); — Tailwind CSS: bg-[hsl(283,20%,46%)] — CSS variable: --color-primary: hsl(283, 20%, 46%);