HSL(305, 68%, 20%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(305,68%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(305, 68%, 20%) color: hsl(305, 68%, 20%)
HEX #561050 color: #561050
RGB rgb(86, 16, 80) color: rgb(86, 16, 80)
CMYK cmyk(0%, 81%, 7%, 66%)
HSV hsv(305, 81%, 34%)
HWB hwb(305 6% 66%) color: hwb(305 6% 66%)
OKLCH oklch(0.325 0.1265 331.91) color: oklch(0.325 0.1265 331.91)
Lab lab(19.76 38.93 -21.65) color: lab(19.76 38.93 -21.65)
LCH lch(19.76 44.55 330.92) color: lch(19.76 44.55 330.92)

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 13.24:1
vs Black 1.59: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)

#383741 — rgb(56, 55, 65)

Deuteranopia (Green-blind)

#3C413D — rgb(60, 65, 61)

Tritanopia (Blue-blind)

#533432 — rgb(83, 52, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(305, 68%, 20%);

text

color: hsl(305, 68%, 20%);

border

border: 2px solid hsl(305, 68%, 20%);

gradient light

background: linear-gradient(to right, hsl(305, 68%, 40%), hsl(305, 68%, 20%));

gradient dark

background: linear-gradient(to right, hsl(305, 68%, 20%), hsl(305, 68%, 0%))

hex

background-color: #561050;

tailwind

bg-[hsl(305,68%,20%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(305, 68%, 20%, 0.4);

css variable

--color-primary: hsl(305, 68%, 20%);

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(305, 68%, 20%)?

HEX: #561050 | RGB: rgb(86, 16, 80) | CMYK: 0%, 81%, 7%, 66% | HSV: 305°, 81%, 34%. Copy any format from the conversion table above.

What colors go well with #561050?

The complementary color is HSL(125, 68%, 20%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(305, 68%, 20%) in CSS?

As HSL: color: hsl(305, 68%, 20%); — As HEX: color: #561050; — As RGB: color: rgb(86, 16, 80); — Tailwind CSS: bg-[hsl(305,68%,20%)] — CSS variable: --color-primary: hsl(305, 68%, 20%);