HSL(306, 72%, 50%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(306,72%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(306, 72%, 50%) color: hsl(306, 72%, 50%)
HEX #DB24C9 color: #DB24C9
RGB rgb(219, 36, 201) color: rgb(219, 36, 201)
CMYK cmyk(0%, 84%, 8%, 14%)
HSV hsv(306, 84%, 86%)
HWB hwb(306 14% 14%) color: hwb(306 14% 14%)
OKLCH oklch(0.6252 0.2623 333.01) color: oklch(0.6252 0.2623 333.01)
Lab lab(52.45 80.88 -43.26) color: lab(52.45 80.88 -43.26)
LCH lch(52.45 91.72 331.86) color: lch(52.45 91.72 331.86)

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 4.11:1
vs Black 5.11:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#8C8AA1 — rgb(140, 138, 161)

Deuteranopia (Green-blind)

#96A498 — rgb(150, 164, 152)

Tritanopia (Blue-blind)

#D2827B — rgb(210, 130, 123)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(306, 72%, 50%);

text

color: hsl(306, 72%, 50%);

border

border: 2px solid hsl(306, 72%, 50%);

gradient light

background: linear-gradient(to right, hsl(306, 72%, 70%), hsl(306, 72%, 50%));

gradient dark

background: linear-gradient(to right, hsl(306, 72%, 50%), hsl(306, 72%, 30%))

hex

background-color: #DB24C9;

tailwind

bg-[hsl(306,72%,50%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(306, 72%, 50%, 0.4);

css variable

--color-primary: hsl(306, 72%, 50%);

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(306, 72%, 50%)?

HEX: #DB24C9 | RGB: rgb(219, 36, 201) | CMYK: 0%, 84%, 8%, 14% | HSV: 306°, 84%, 86%. Copy any format from the conversion table above.

What colors go well with #DB24C9?

The complementary color is HSL(126, 72%, 50%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(306, 72%, 50%) in CSS?

As HSL: color: hsl(306, 72%, 50%); — As HEX: color: #DB24C9; — As RGB: color: rgb(219, 36, 201); — Tailwind CSS: bg-[hsl(306,72%,50%)] — CSS variable: --color-primary: hsl(306, 72%, 50%);