HSL(299, 30%, 25%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,30%,25%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 30%, 25%) color: hsl(299, 30%, 25%)
HEX #522D53 color: #522D53
RGB rgb(82, 45, 83) color: rgb(82, 45, 83)
CMYK cmyk(1%, 46%, 0%, 67%)
HSV hsv(298, 46%, 33%)
HWB hwb(298 18% 67%) color: hwb(298 18% 67%)
OKLCH oklch(0.3599 0.0789 326.12) color: oklch(0.3599 0.0789 326.12)
Lab lab(24.62 23.75 -16.09) color: lab(24.62 23.75 -16.09)
LCH lch(24.62 28.69 325.88) color: lch(24.62 28.69 325.88)

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 11.3:1
vs Black 1.86: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)

#42424A — rgb(66, 66, 74)

Deuteranopia (Green-blind)

#444748 — rgb(68, 71, 72)

Tritanopia (Blue-blind)

#504341 — rgb(80, 67, 65)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 30%, 25%);

text

color: hsl(299, 30%, 25%);

border

border: 2px solid hsl(299, 30%, 25%);

gradient light

background: linear-gradient(to right, hsl(299, 30%, 45%), hsl(299, 30%, 25%));

gradient dark

background: linear-gradient(to right, hsl(299, 30%, 25%), hsl(299, 30%, 5%))

hex

background-color: #522D53;

tailwind

bg-[hsl(299,30%,25%)]

box shadow

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

css variable

--color-primary: hsl(299, 30%, 25%);

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, 30%, 25%)?

HEX: #522D53 | RGB: rgb(82, 45, 83) | CMYK: 1%, 46%, 0%, 67% | HSV: 298°, 46%, 33%. Copy any format from the conversion table above.

What colors go well with #522D53?

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

As HSL: color: hsl(299, 30%, 25%); — As HEX: color: #522D53; — As RGB: color: rgb(82, 45, 83); — Tailwind CSS: bg-[hsl(299,30%,25%)] — CSS variable: --color-primary: hsl(299, 30%, 25%);