HSL(292, 48%, 26%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(292,48%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(292, 48%, 26%) color: hsl(292, 48%, 26%)
HEX #5A2262 color: #5A2262
RGB rgb(90, 34, 98) color: rgb(90, 34, 98)
CMYK cmyk(8%, 65%, 0%, 62%)
HSV hsv(293, 65%, 38%)
HWB hwb(293 13% 62%) color: hwb(293 13% 62%)
OKLCH oklch(0.3628 0.1203 322.49) color: oklch(0.3628 0.1203 322.49)
Lab lab(24.32 35.71 -26.36) color: lab(24.32 35.71 -26.36)
LCH lch(24.32 44.39 323.57) color: lch(24.32 44.39 323.57)

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.41:1
vs Black 1.84: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)

#424153 — rgb(66, 65, 83)

Deuteranopia (Green-blind)

#45494F — rgb(69, 73, 79)

Tritanopia (Blue-blind)

#574644 — rgb(87, 70, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(292, 48%, 26%);

text

color: hsl(292, 48%, 26%);

border

border: 2px solid hsl(292, 48%, 26%);

gradient light

background: linear-gradient(to right, hsl(292, 48%, 46%), hsl(292, 48%, 26%));

gradient dark

background: linear-gradient(to right, hsl(292, 48%, 26%), hsl(292, 48%, 6%))

hex

background-color: #5A2262;

tailwind

bg-[hsl(292,48%,26%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(292, 48%, 26%, 0.4);

css variable

--color-primary: hsl(292, 48%, 26%);

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(292, 48%, 26%)?

HEX: #5A2262 | RGB: rgb(90, 34, 98) | CMYK: 8%, 65%, 0%, 62% | HSV: 293°, 65%, 38%. Copy any format from the conversion table above.

What colors go well with #5A2262?

The complementary color is HSL(112, 48%, 26%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(292, 48%, 26%) in CSS?

As HSL: color: hsl(292, 48%, 26%); — As HEX: color: #5A2262; — As RGB: color: rgb(90, 34, 98); — Tailwind CSS: bg-[hsl(292,48%,26%)] — CSS variable: --color-primary: hsl(292, 48%, 26%);