HSL(258, 33%, 55%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(258,33%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(258, 33%, 55%) color: hsl(258, 33%, 55%)
HEX #7D66B2 color: #7D66B2
RGB rgb(125, 102, 178) color: rgb(125, 102, 178)
CMYK cmyk(30%, 43%, 0%, 30%)
HSV hsv(258, 43%, 70%)
HWB hwb(258 40% 30%) color: hwb(258 40% 30%)
OKLCH oklch(0.5652 0.1164 296.43) color: oklch(0.5652 0.1164 296.43)
Lab lab(48.36 26.03 -37.23) color: lab(48.36 26.03 -37.23)
LCH lch(48.36 45.43 304.96) color: lch(48.36 45.43 304.96)

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 4.76:1
vs Black 4.42: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)

#7373A0 — rgb(115, 115, 160)

Deuteranopia (Green-blind)

#74769B — rgb(116, 118, 155)

Tritanopia (Blue-blind)

#7C918E — rgb(124, 145, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(258, 33%, 55%);

text

color: hsl(258, 33%, 55%);

border

border: 2px solid hsl(258, 33%, 55%);

gradient light

background: linear-gradient(to right, hsl(258, 33%, 75%), hsl(258, 33%, 55%));

gradient dark

background: linear-gradient(to right, hsl(258, 33%, 55%), hsl(258, 33%, 35%))

hex

background-color: #7D66B2;

tailwind

bg-[hsl(258,33%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(258, 33%, 55%, 0.4);

css variable

--color-primary: hsl(258, 33%, 55%);

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(258, 33%, 55%)?

HEX: #7D66B2 | RGB: rgb(125, 102, 178) | CMYK: 30%, 43%, 0%, 30% | HSV: 258°, 43%, 70%. Copy any format from the conversion table above.

What colors go well with #7D66B2?

The complementary color is HSL(78, 33%, 55%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(258, 33%, 55%) in CSS?

As HSL: color: hsl(258, 33%, 55%); — As HEX: color: #7D66B2; — As RGB: color: rgb(125, 102, 178); — Tailwind CSS: bg-[hsl(258,33%,55%)] — CSS variable: --color-primary: hsl(258, 33%, 55%);