HSL(257, 58%, 57%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,58%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 58%, 57%) color: hsl(257, 58%, 57%)
HEX #7652D1 color: #7652D1
RGB rgb(118, 82, 209) color: rgb(118, 82, 209)
CMYK cmyk(44%, 61%, 0%, 18%)
HSV hsv(257, 61%, 82%)
HWB hwb(257 32% 18%) color: hwb(257 32% 18%)
OKLCH oklch(0.5441 0.1869 292.08) color: oklch(0.5441 0.1869 292.08)
Lab lab(44.93 44.35 -60.68) color: lab(44.93 44.35 -60.68)
LCH lch(44.93 75.16 306.16) color: lch(44.93 75.16 306.16)

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.39:1
vs Black 3.9: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)

#6666B2 — rgb(102, 102, 178)

Deuteranopia (Green-blind)

#696BAB — rgb(105, 107, 171)

Tritanopia (Blue-blind)

#749A95 — rgb(116, 154, 149)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 58%, 57%);

text

color: hsl(257, 58%, 57%);

border

border: 2px solid hsl(257, 58%, 57%);

gradient light

background: linear-gradient(to right, hsl(257, 58%, 77%), hsl(257, 58%, 57%));

gradient dark

background: linear-gradient(to right, hsl(257, 58%, 57%), hsl(257, 58%, 37%))

hex

background-color: #7652D1;

tailwind

bg-[hsl(257,58%,57%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 58%, 57%, 0.4);

css variable

--color-primary: hsl(257, 58%, 57%);

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(257, 58%, 57%)?

HEX: #7652D1 | RGB: rgb(118, 82, 209) | CMYK: 44%, 61%, 0%, 18% | HSV: 257°, 61%, 82%. Copy any format from the conversion table above.

What colors go well with #7652D1?

The complementary color is HSL(77, 58%, 57%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 58%, 57%) in CSS?

As HSL: color: hsl(257, 58%, 57%); — As HEX: color: #7652D1; — As RGB: color: rgb(118, 82, 209); — Tailwind CSS: bg-[hsl(257,58%,57%)] — CSS variable: --color-primary: hsl(257, 58%, 57%);