HSL(304, 85%, 36%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(304,85%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(304, 85%, 36%) color: hsl(304, 85%, 36%)
HEX #AA0E9F color: #AA0E9F
RGB rgb(170, 14, 159) color: rgb(170, 14, 159)
CMYK cmyk(0%, 92%, 6%, 33%)
HSV hsv(304, 92%, 67%)
HWB hwb(304 5% 33%) color: hwb(304 5% 33%)
OKLCH oklch(0.5148 0.2257 331.9) color: oklch(0.5148 0.2257 331.9)
Lab lab(40.19 69.35 -38.51) color: lab(40.19 69.35 -38.51)
LCH lch(40.19 79.32 330.96) color: lch(40.19 79.32 330.96)

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.42:1
vs Black 3.27: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)

#66657C — rgb(102, 101, 124)

Deuteranopia (Green-blind)

#707B74 — rgb(112, 123, 116)

Tritanopia (Blue-blind)

#A2605A — rgb(162, 96, 90)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(304, 85%, 36%);

text

color: hsl(304, 85%, 36%);

border

border: 2px solid hsl(304, 85%, 36%);

gradient light

background: linear-gradient(to right, hsl(304, 85%, 56%), hsl(304, 85%, 36%));

gradient dark

background: linear-gradient(to right, hsl(304, 85%, 36%), hsl(304, 85%, 16%))

hex

background-color: #AA0E9F;

tailwind

bg-[hsl(304,85%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(304, 85%, 36%, 0.4);

css variable

--color-primary: hsl(304, 85%, 36%);

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(304, 85%, 36%)?

HEX: #AA0E9F | RGB: rgb(170, 14, 159) | CMYK: 0%, 92%, 6%, 33% | HSV: 304°, 92%, 67%. Copy any format from the conversion table above.

What colors go well with #AA0E9F?

The complementary color is HSL(124, 85%, 36%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(304, 85%, 36%) in CSS?

As HSL: color: hsl(304, 85%, 36%); — As HEX: color: #AA0E9F; — As RGB: color: rgb(170, 14, 159); — Tailwind CSS: bg-[hsl(304,85%,36%)] — CSS variable: --color-primary: hsl(304, 85%, 36%);