HSL(309, 60%, 22%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(309, 60%, 22%) color: hsl(309, 60%, 22%)
HEX #5A1650 color: #5A1650
RGB rgb(90, 22, 80) color: rgb(90, 22, 80)
CMYK cmyk(0%, 76%, 11%, 65%)
HSV hsv(309, 76%, 35%)
HWB hwb(309 8% 65%) color: hwb(309 8% 65%)
OKLCH oklch(0.3376 0.1215 334.49) color: oklch(0.3376 0.1215 334.49)
Lab lab(21.31 37.73 -19.15) color: lab(21.31 37.73 -19.15)
LCH lch(21.31 42.31 333.09) color: lch(21.31 42.31 333.09)

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 12.61:1
vs Black 1.67: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)

#3D3C42 — rgb(61, 60, 66)

Deuteranopia (Green-blind)

#41463F — rgb(65, 70, 63)

Tritanopia (Blue-blind)

#573734 — rgb(87, 55, 52)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(309, 60%, 22%), hsl(309, 60%, 2%))

hex

background-color: #5A1650;

tailwind

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

box shadow

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

css variable

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

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%, 22%)?

HEX: #5A1650 | RGB: rgb(90, 22, 80) | CMYK: 0%, 76%, 11%, 65% | HSV: 309°, 76%, 35%. Copy any format from the conversion table above.

What colors go well with #5A1650?

The complementary color is HSL(129, 60%, 22%). 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%, 22%) in CSS?

As HSL: color: hsl(309, 60%, 22%); — As HEX: color: #5A1650; — As RGB: color: rgb(90, 22, 80); — Tailwind CSS: bg-[hsl(309,60%,22%)] — CSS variable: --color-primary: hsl(309, 60%, 22%);