HSL(287, 63%, 28%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(287,63%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 63%, 28%) color: hsl(287, 63%, 28%)
HEX #611A74 color: #611A74
RGB rgb(97, 26, 116) color: rgb(97, 26, 116)
CMYK cmyk(16%, 78%, 0%, 55%)
HSV hsv(287, 78%, 45%)
HWB hwb(287 10% 55%) color: hwb(287 10% 55%)
OKLCH oklch(0.3766 0.1524 318.08) color: oklch(0.3766 0.1524 318.08)
Lab lab(25.39 44.78 -36.23) color: lab(25.39 44.78 -36.23)
LCH lch(25.39 57.6 321.02) color: lch(25.39 57.6 321.02)

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

#42425E — rgb(66, 66, 94)

Deuteranopia (Green-blind)

#464C59 — rgb(70, 76, 89)

Tritanopia (Blue-blind)

#5D4D49 — rgb(93, 77, 73)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 63%, 28%);

text

color: hsl(287, 63%, 28%);

border

border: 2px solid hsl(287, 63%, 28%);

gradient light

background: linear-gradient(to right, hsl(287, 63%, 48%), hsl(287, 63%, 28%));

gradient dark

background: linear-gradient(to right, hsl(287, 63%, 28%), hsl(287, 63%, 8%))

hex

background-color: #611A74;

tailwind

bg-[hsl(287,63%,28%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(287, 63%, 28%, 0.4);

css variable

--color-primary: hsl(287, 63%, 28%);

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(287, 63%, 28%)?

HEX: #611A74 | RGB: rgb(97, 26, 116) | CMYK: 16%, 78%, 0%, 55% | HSV: 287°, 78%, 45%. Copy any format from the conversion table above.

What colors go well with #611A74?

The complementary color is HSL(107, 63%, 28%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(287, 63%, 28%) in CSS?

As HSL: color: hsl(287, 63%, 28%); — As HEX: color: #611A74; — As RGB: color: rgb(97, 26, 116); — Tailwind CSS: bg-[hsl(287,63%,28%)] — CSS variable: --color-primary: hsl(287, 63%, 28%);