HSL(309, 52%, 24%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(309,52%,24%)]

Color Conversions

Format Value CSS Usage
HSL hsl(309, 52%, 24%) color: hsl(309, 52%, 24%)
HEX #5D1D53 color: #5D1D53
RGB rgb(93, 29, 83) color: rgb(93, 29, 83)
CMYK cmyk(0%, 69%, 11%, 64%)
HSV hsv(309, 69%, 36%)
HWB hwb(309 11% 64%) color: hwb(309 11% 64%)
OKLCH oklch(0.3523 0.116 334.48) color: oklch(0.3523 0.116 334.48)
Lab lab(23.1 36.07 -18.32) color: lab(23.1 36.07 -18.32)
LCH lch(23.1 40.46 333.07) color: lch(23.1 40.46 333.07)

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 11.89:1
vs Black 1.77: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)

#414146 — rgb(65, 65, 70)

Deuteranopia (Green-blind)

#454A43 — rgb(69, 74, 67)

Tritanopia (Blue-blind)

#5A3C39 — rgb(90, 60, 57)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(309, 52%, 24%);

text

color: hsl(309, 52%, 24%);

border

border: 2px solid hsl(309, 52%, 24%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(309, 52%, 24%), hsl(309, 52%, 4%))

hex

background-color: #5D1D53;

tailwind

bg-[hsl(309,52%,24%)]

box shadow

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

css variable

--color-primary: hsl(309, 52%, 24%);

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

HEX: #5D1D53 | RGB: rgb(93, 29, 83) | CMYK: 0%, 69%, 11%, 64% | HSV: 309°, 69%, 36%. Copy any format from the conversion table above.

What colors go well with #5D1D53?

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

As HSL: color: hsl(309, 52%, 24%); — As HEX: color: #5D1D53; — As RGB: color: rgb(93, 29, 83); — Tailwind CSS: bg-[hsl(309,52%,24%)] — CSS variable: --color-primary: hsl(309, 52%, 24%);