HSL(311, 74%, 5%)

Very Dark Purple — Purple color

Adjust Color

Color Information

Color Name

Very Dark Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(311,74%,5%)]

Color Conversions

Format Value CSS Usage
HSL hsl(311, 74%, 5%) color: hsl(311, 74%, 5%)
HEX #160313 color: #160313
RGB rgb(22, 3, 19) color: rgb(22, 3, 19)
CMYK cmyk(0%, 86%, 14%, 91%)
HSV hsv(309, 86%, 9%)
HWB hwb(309 1% 91%) color: hwb(309 1% 91%)
OKLCH oklch(0.1478 0.0488 333.72) color: oklch(0.1478 0.0488 333.72)
Lab lab(2.55 8.69 -4.83) color: lab(2.55 8.69 -4.83)
LCH lch(2.55 9.94 330.93) color: lch(2.55 9.94 330.93)

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

#0E0E0F — rgb(14, 14, 15)

Deuteranopia (Green-blind)

#0F100E — rgb(15, 16, 14)

Tritanopia (Blue-blind)

#150C0B — rgb(21, 12, 11)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(311, 74%, 5%);

text

color: hsl(311, 74%, 5%);

border

border: 2px solid hsl(311, 74%, 5%);

gradient light

background: linear-gradient(to right, hsl(311, 74%, 25%), hsl(311, 74%, 5%));

gradient dark

background: linear-gradient(to right, hsl(311, 74%, 5%), hsl(311, 74%, 0%))

hex

background-color: #160313;

tailwind

bg-[hsl(311,74%,5%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(311, 74%, 5%, 0.4);

css variable

--color-primary: hsl(311, 74%, 5%);

Related Colors

Use Cases for Very Dark Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(311, 74%, 5%)?

HEX: #160313 | RGB: rgb(22, 3, 19) | CMYK: 0%, 86%, 14%, 91% | HSV: 309°, 86%, 9%. Copy any format from the conversion table above.

What colors go well with #160313?

The complementary color is HSL(131, 74%, 5%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(311, 74%, 5%) in CSS?

As HSL: color: hsl(311, 74%, 5%); — As HEX: color: #160313; — As RGB: color: rgb(22, 3, 19); — Tailwind CSS: bg-[hsl(311,74%,5%)] — CSS variable: --color-primary: hsl(311, 74%, 5%);