HSL(314, 21%, 28%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(314,21%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(314, 21%, 28%) color: hsl(314, 21%, 28%)
HEX #56384F color: #56384F
RGB rgb(86, 56, 79) color: rgb(86, 56, 79)
CMYK cmyk(0%, 35%, 8%, 66%)
HSV hsv(314, 35%, 34%)
HWB hwb(314 22% 66%) color: hwb(314 22% 66%)
OKLCH oklch(0.3842 0.0552 335.41) color: oklch(0.3842 0.0552 335.41)
Lab lab(27.77 17.51 -8.59) color: lab(27.77 17.51 -8.59)
LCH lch(27.77 19.5 333.87) color: lch(27.77 19.5 333.87)

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

#494949 — rgb(73, 73, 73)

Deuteranopia (Green-blind)

#4B4D48 — rgb(75, 77, 72)

Tritanopia (Blue-blind)

#554544 — rgb(85, 69, 68)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(314, 21%, 28%);

text

color: hsl(314, 21%, 28%);

border

border: 2px solid hsl(314, 21%, 28%);

gradient light

background: linear-gradient(to right, hsl(314, 21%, 48%), hsl(314, 21%, 28%));

gradient dark

background: linear-gradient(to right, hsl(314, 21%, 28%), hsl(314, 21%, 8%))

hex

background-color: #56384F;

tailwind

bg-[hsl(314,21%,28%)]

box shadow

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

css variable

--color-primary: hsl(314, 21%, 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(314, 21%, 28%)?

HEX: #56384F | RGB: rgb(86, 56, 79) | CMYK: 0%, 35%, 8%, 66% | HSV: 314°, 35%, 34%. Copy any format from the conversion table above.

What colors go well with #56384F?

The complementary color is HSL(134, 21%, 28%). For a triadic harmony, use hues 314°, 74°, and 194°. For analogous combinations, try hues 284° and 344°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(314, 21%, 28%) in CSS?

As HSL: color: hsl(314, 21%, 28%); — As HEX: color: #56384F; — As RGB: color: rgb(86, 56, 79); — Tailwind CSS: bg-[hsl(314,21%,28%)] — CSS variable: --color-primary: hsl(314, 21%, 28%);