HSL(299, 60%, 18%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,60%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 60%, 18%) color: hsl(299, 60%, 18%)
HEX #491249 color: #491249
RGB rgb(73, 18, 73) color: rgb(73, 18, 73)
CMYK cmyk(0%, 75%, 0%, 71%)
HSV hsv(300, 75%, 29%)
HWB hwb(300 7% 71%) color: hwb(300 7% 71%)
OKLCH oklch(0.3 0.1102 327.9) color: oklch(0.3 0.1102 327.9)
Lab lab(17.13 33.48 -21.17) color: lab(17.13 33.48 -21.17)
LCH lch(17.13 39.61 327.69) color: lch(17.13 39.61 327.69)

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 14.32:1
vs Black 1.47: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)

#31313C — rgb(49, 49, 60)

Deuteranopia (Green-blind)

#343939 — rgb(52, 57, 57)

Tritanopia (Blue-blind)

#46312F — rgb(70, 49, 47)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 60%, 18%);

text

color: hsl(299, 60%, 18%);

border

border: 2px solid hsl(299, 60%, 18%);

gradient light

background: linear-gradient(to right, hsl(299, 60%, 38%), hsl(299, 60%, 18%));

gradient dark

background: linear-gradient(to right, hsl(299, 60%, 18%), hsl(299, 60%, 0%))

hex

background-color: #491249;

tailwind

bg-[hsl(299,60%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(299, 60%, 18%, 0.4);

css variable

--color-primary: hsl(299, 60%, 18%);

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(299, 60%, 18%)?

HEX: #491249 | RGB: rgb(73, 18, 73) | CMYK: 0%, 75%, 0%, 71% | HSV: 300°, 75%, 29%. Copy any format from the conversion table above.

What colors go well with #491249?

The complementary color is HSL(119, 60%, 18%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 60%, 18%) in CSS?

As HSL: color: hsl(299, 60%, 18%); — As HEX: color: #491249; — As RGB: color: rgb(73, 18, 73); — Tailwind CSS: bg-[hsl(299,60%,18%)] — CSS variable: --color-primary: hsl(299, 60%, 18%);