HSL(291, 52%, 44%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(291,52%,44%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 52%, 44%) color: hsl(291, 52%, 44%)
HEX #9936AB color: #9936AB
RGB rgb(153, 54, 171) color: rgb(153, 54, 171)
CMYK cmyk(11%, 68%, 0%, 33%)
HSV hsv(291, 68%, 67%)
HWB hwb(291 21% 33%) color: hwb(291 21% 33%)
OKLCH oklch(0.5228 0.1929 321.11) color: oklch(0.5228 0.1929 321.11)
Lab lab(41.77 57.08 -43.34) color: lab(41.77 57.08 -43.34)
LCH lch(41.77 71.67 322.79) color: lch(41.77 71.67 322.79)

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 6.05:1
vs Black 3.47: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)

#6E6D8F — rgb(110, 109, 143)

Deuteranopia (Green-blind)

#747B88 — rgb(116, 123, 136)

Tritanopia (Blue-blind)

#947873 — rgb(148, 120, 115)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 52%, 44%);

text

color: hsl(291, 52%, 44%);

border

border: 2px solid hsl(291, 52%, 44%);

gradient light

background: linear-gradient(to right, hsl(291, 52%, 64%), hsl(291, 52%, 44%));

gradient dark

background: linear-gradient(to right, hsl(291, 52%, 44%), hsl(291, 52%, 24%))

hex

background-color: #9936AB;

tailwind

bg-[hsl(291,52%,44%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(291, 52%, 44%, 0.4);

css variable

--color-primary: hsl(291, 52%, 44%);

Related Colors

Use Cases for Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(291, 52%, 44%)?

HEX: #9936AB | RGB: rgb(153, 54, 171) | CMYK: 11%, 68%, 0%, 33% | HSV: 291°, 68%, 67%. Copy any format from the conversion table above.

What colors go well with #9936AB?

The complementary color is HSL(111, 52%, 44%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(291, 52%, 44%) in CSS?

As HSL: color: hsl(291, 52%, 44%); — As HEX: color: #9936AB; — As RGB: color: rgb(153, 54, 171); — Tailwind CSS: bg-[hsl(291,52%,44%)] — CSS variable: --color-primary: hsl(291, 52%, 44%);