HSL(309, 60%, 40%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(309,60%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(309, 60%, 40%) color: hsl(309, 60%, 40%)
HEX #A32991 color: #A32991
RGB rgb(163, 41, 145) color: rgb(163, 41, 145)
CMYK cmyk(0%, 75%, 11%, 36%)
HSV hsv(309, 75%, 64%)
HWB hwb(309 16% 36%) color: hwb(309 16% 36%)
OKLCH oklch(0.5106 0.1924 334.79) color: oklch(0.5106 0.1924 334.79)
Lab lab(40.28 59.74 -29.97) color: lab(40.28 59.74 -29.97)
LCH lch(40.28 66.84 333.36) color: lch(40.28 66.84 333.36)

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

#6E6D78 — rgb(110, 109, 120)

Deuteranopia (Green-blind)

#757E72 — rgb(117, 126, 114)

Tritanopia (Blue-blind)

#9D6460 — rgb(157, 100, 96)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(309, 60%, 40%);

text

color: hsl(309, 60%, 40%);

border

border: 2px solid hsl(309, 60%, 40%);

gradient light

background: linear-gradient(to right, hsl(309, 60%, 60%), hsl(309, 60%, 40%));

gradient dark

background: linear-gradient(to right, hsl(309, 60%, 40%), hsl(309, 60%, 20%))

hex

background-color: #A32991;

tailwind

bg-[hsl(309,60%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(309, 60%, 40%, 0.4);

css variable

--color-primary: hsl(309, 60%, 40%);

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(309, 60%, 40%)?

HEX: #A32991 | RGB: rgb(163, 41, 145) | CMYK: 0%, 75%, 11%, 36% | HSV: 309°, 75%, 64%. Copy any format from the conversion table above.

What colors go well with #A32991?

The complementary color is HSL(129, 60%, 40%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(309, 60%, 40%) in CSS?

As HSL: color: hsl(309, 60%, 40%); — As HEX: color: #A32991; — As RGB: color: rgb(163, 41, 145); — Tailwind CSS: bg-[hsl(309,60%,40%)] — CSS variable: --color-primary: hsl(309, 60%, 40%);