HSL(308, 30%, 39%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(308,30%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(308, 30%, 39%) color: hsl(308, 30%, 39%)
HEX #814679 color: #814679
RGB rgb(129, 70, 121) color: rgb(129, 70, 121)
CMYK cmyk(0%, 46%, 6%, 49%)
HSV hsv(308, 46%, 51%)
HWB hwb(308 28% 49%) color: hwb(308 28% 49%)
OKLCH oklch(0.4841 0.1063 332.25) color: oklch(0.4841 0.1063 332.25)
Lab lab(38.6 33 -18.25) color: lab(38.6 33 -18.25)
LCH lch(38.6 37.71 331.06) color: lch(38.6 37.71 331.06)

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.81:1
vs Black 3.09: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)

#67676D — rgb(103, 103, 109)

Deuteranopia (Green-blind)

#6B6F6A — rgb(107, 111, 106)

Tritanopia (Blue-blind)

#7E6361 — rgb(126, 99, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(308, 30%, 39%);

text

color: hsl(308, 30%, 39%);

border

border: 2px solid hsl(308, 30%, 39%);

gradient light

background: linear-gradient(to right, hsl(308, 30%, 59%), hsl(308, 30%, 39%));

gradient dark

background: linear-gradient(to right, hsl(308, 30%, 39%), hsl(308, 30%, 19%))

hex

background-color: #814679;

tailwind

bg-[hsl(308,30%,39%)]

box shadow

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

css variable

--color-primary: hsl(308, 30%, 39%);

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(308, 30%, 39%)?

HEX: #814679 | RGB: rgb(129, 70, 121) | CMYK: 0%, 46%, 6%, 49% | HSV: 308°, 46%, 51%. Copy any format from the conversion table above.

What colors go well with #814679?

The complementary color is HSL(128, 30%, 39%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(308, 30%, 39%) in CSS?

As HSL: color: hsl(308, 30%, 39%); — As HEX: color: #814679; — As RGB: color: rgb(129, 70, 121); — Tailwind CSS: bg-[hsl(308,30%,39%)] — CSS variable: --color-primary: hsl(308, 30%, 39%);