HSL(272, 55%, 45%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,55%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 55%, 45%) color: hsl(272, 55%, 45%)
HEX #7734B2 color: #7734B2
RGB rgb(119, 52, 178) color: rgb(119, 52, 178)
CMYK cmyk(33%, 71%, 0%, 30%)
HSV hsv(272, 71%, 70%)
HWB hwb(272 20% 30%) color: hwb(272 20% 30%)
OKLCH oklch(0.4809 0.1904 304.4) color: oklch(0.4809 0.1904 304.4)
Lab lab(37.1 52.11 -55.27) color: lab(37.1 52.11 -55.27)
LCH lch(37.1 75.96 313.31) color: lch(37.1 75.96 313.31)

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 7.2:1
vs Black 2.92:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5A5994 — rgb(90, 89, 148)

Deuteranopia (Green-blind)

#5E638C — rgb(94, 99, 140)

Tritanopia (Blue-blind)

#747B76 — rgb(116, 123, 118)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 55%, 45%);

text

color: hsl(272, 55%, 45%);

border

border: 2px solid hsl(272, 55%, 45%);

gradient light

background: linear-gradient(to right, hsl(272, 55%, 65%), hsl(272, 55%, 45%));

gradient dark

background: linear-gradient(to right, hsl(272, 55%, 45%), hsl(272, 55%, 25%))

hex

background-color: #7734B2;

tailwind

bg-[hsl(272,55%,45%)]

box shadow

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

css variable

--color-primary: hsl(272, 55%, 45%);

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(272, 55%, 45%)?

HEX: #7734B2 | RGB: rgb(119, 52, 178) | CMYK: 33%, 71%, 0%, 30% | HSV: 272°, 71%, 70%. Copy any format from the conversion table above.

What colors go well with #7734B2?

The complementary color is HSL(92, 55%, 45%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(272, 55%, 45%) in CSS?

As HSL: color: hsl(272, 55%, 45%); — As HEX: color: #7734B2; — As RGB: color: rgb(119, 52, 178); — Tailwind CSS: bg-[hsl(272,55%,45%)] — CSS variable: --color-primary: hsl(272, 55%, 45%);