HSL(301, 52%, 38%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(301,52%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(301, 52%, 38%) color: hsl(301, 52%, 38%)
HEX #932F92 color: #932F92
RGB rgb(147, 47, 146) color: rgb(147, 47, 146)
CMYK cmyk(0%, 68%, 1%, 42%)
HSV hsv(301, 68%, 58%)
HWB hwb(301 19% 42%) color: hwb(301 19% 42%)
OKLCH oklch(0.4921 0.1772 328.27) color: oklch(0.4921 0.1772 328.27)
Lab lab(38.4 53.91 -33.72) color: lab(38.4 53.91 -33.72)
LCH lch(38.4 63.59 327.97) color: lch(38.4 63.59 327.97)

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.86:1
vs Black 3.06: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)

#68677A — rgb(104, 103, 122)

Deuteranopia (Green-blind)

#6E7574 — rgb(110, 117, 116)

Tritanopia (Blue-blind)

#8E6763 — rgb(142, 103, 99)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(301, 52%, 38%);

text

color: hsl(301, 52%, 38%);

border

border: 2px solid hsl(301, 52%, 38%);

gradient light

background: linear-gradient(to right, hsl(301, 52%, 58%), hsl(301, 52%, 38%));

gradient dark

background: linear-gradient(to right, hsl(301, 52%, 38%), hsl(301, 52%, 18%))

hex

background-color: #932F92;

tailwind

bg-[hsl(301,52%,38%)]

box shadow

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

css variable

--color-primary: hsl(301, 52%, 38%);

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(301, 52%, 38%)?

HEX: #932F92 | RGB: rgb(147, 47, 146) | CMYK: 0%, 68%, 1%, 42% | HSV: 301°, 68%, 58%. Copy any format from the conversion table above.

What colors go well with #932F92?

The complementary color is HSL(121, 52%, 38%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(301, 52%, 38%) in CSS?

As HSL: color: hsl(301, 52%, 38%); — As HEX: color: #932F92; — As RGB: color: rgb(147, 47, 146); — Tailwind CSS: bg-[hsl(301,52%,38%)] — CSS variable: --color-primary: hsl(301, 52%, 38%);