HSL(300, 77%, 32%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(300,77%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(300, 77%, 32%) color: hsl(300, 77%, 32%)
HEX #901390 color: #901390
RGB rgb(144, 19, 144) color: rgb(144, 19, 144)
CMYK cmyk(0%, 87%, 0%, 44%)
HSV hsv(300, 87%, 56%)
HWB hwb(300 7% 44%) color: hwb(300 7% 44%)
OKLCH oklch(0.4652 0.2016 328.23) color: oklch(0.4652 0.2016 328.23)
Lab lab(34.82 61.36 -38.21) color: lab(34.82 61.36 -38.21)
LCH lch(34.82 72.28 328.09) color: lch(34.82 72.28 328.09)

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 7.83:1
vs Black 2.68: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)

#5A5972 — rgb(90, 89, 114)

Deuteranopia (Green-blind)

#616B6B — rgb(97, 107, 107)

Tritanopia (Blue-blind)

#8A5A55 — rgb(138, 90, 85)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(300, 77%, 32%);

text

color: hsl(300, 77%, 32%);

border

border: 2px solid hsl(300, 77%, 32%);

gradient light

background: linear-gradient(to right, hsl(300, 77%, 52%), hsl(300, 77%, 32%));

gradient dark

background: linear-gradient(to right, hsl(300, 77%, 32%), hsl(300, 77%, 12%))

hex

background-color: #901390;

tailwind

bg-[hsl(300,77%,32%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(300, 77%, 32%, 0.4);

css variable

--color-primary: hsl(300, 77%, 32%);

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(300, 77%, 32%)?

HEX: #901390 | RGB: rgb(144, 19, 144) | CMYK: 0%, 87%, 0%, 44% | HSV: 300°, 87%, 56%. Copy any format from the conversion table above.

What colors go well with #901390?

The complementary color is HSL(120, 77%, 32%). For a triadic harmony, use hues 300°, 60°, and 180°. For analogous combinations, try hues 270° and 330°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(300, 77%, 32%) in CSS?

As HSL: color: hsl(300, 77%, 32%); — As HEX: color: #901390; — As RGB: color: rgb(144, 19, 144); — Tailwind CSS: bg-[hsl(300,77%,32%)] — CSS variable: --color-primary: hsl(300, 77%, 32%);