HSL(306, 30%, 36%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(306,30%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(306, 30%, 36%) color: hsl(306, 30%, 36%)
HEX #774072 color: #774072
RGB rgb(119, 64, 114) color: rgb(119, 64, 114)
CMYK cmyk(0%, 46%, 4%, 53%)
HSV hsv(305, 46%, 47%)
HWB hwb(305 25% 53%) color: hwb(305 25% 53%)
OKLCH oklch(0.4578 0.1029 330.5) color: oklch(0.4578 0.1029 330.5)
Lab lab(35.6 31.69 -18.63) color: lab(35.6 31.69 -18.63)
LCH lch(35.6 36.76 329.55) color: lch(35.6 36.76 329.55)

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.61:1
vs Black 2.76: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)

#5F5F66 — rgb(95, 95, 102)

Deuteranopia (Green-blind)

#626763 — rgb(98, 103, 99)

Tritanopia (Blue-blind)

#745C5A — rgb(116, 92, 90)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(306, 30%, 36%);

text

color: hsl(306, 30%, 36%);

border

border: 2px solid hsl(306, 30%, 36%);

gradient light

background: linear-gradient(to right, hsl(306, 30%, 56%), hsl(306, 30%, 36%));

gradient dark

background: linear-gradient(to right, hsl(306, 30%, 36%), hsl(306, 30%, 16%))

hex

background-color: #774072;

tailwind

bg-[hsl(306,30%,36%)]

box shadow

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

css variable

--color-primary: hsl(306, 30%, 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(306, 30%, 36%)?

HEX: #774072 | RGB: rgb(119, 64, 114) | CMYK: 0%, 46%, 4%, 53% | HSV: 305°, 46%, 47%. Copy any format from the conversion table above.

What colors go well with #774072?

The complementary color is HSL(126, 30%, 36%). 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, 30%, 36%) in CSS?

As HSL: color: hsl(306, 30%, 36%); — As HEX: color: #774072; — As RGB: color: rgb(119, 64, 114); — Tailwind CSS: bg-[hsl(306,30%,36%)] — CSS variable: --color-primary: hsl(306, 30%, 36%);