HSL(296, 92%, 6%)

Very Dark Purple — Purple color

Adjust Color

Color Information

Color Name

Very Dark Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(296,92%,6%)]

Color Conversions

Format Value CSS Usage
HSL hsl(296, 92%, 6%) color: hsl(296, 92%, 6%)
HEX #1B011D color: #1B011D
RGB rgb(27, 1, 29) color: rgb(27, 1, 29)
CMYK cmyk(7%, 97%, 0%, 89%)
HSV hsv(296, 97%, 11%)
HWB hwb(296 0% 89%) color: hwb(296 0% 89%)
OKLCH oklch(0.1603 0.0699 325.39) color: oklch(0.1603 0.0699 325.39)
Lab lab(3.1 14.67 -11.48) color: lab(3.1 14.67 -11.48)
LCH lch(3.1 18.63 321.96) color: lch(3.1 18.63 321.96)

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

#101016 — rgb(16, 16, 22)

Deuteranopia (Green-blind)

#111315 — rgb(17, 19, 21)

Tritanopia (Blue-blind)

#1A1110 — rgb(26, 17, 16)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(296, 92%, 6%);

text

color: hsl(296, 92%, 6%);

border

border: 2px solid hsl(296, 92%, 6%);

gradient light

background: linear-gradient(to right, hsl(296, 92%, 26%), hsl(296, 92%, 6%));

gradient dark

background: linear-gradient(to right, hsl(296, 92%, 6%), hsl(296, 92%, 0%))

hex

background-color: #1B011D;

tailwind

bg-[hsl(296,92%,6%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(296, 92%, 6%, 0.4);

css variable

--color-primary: hsl(296, 92%, 6%);

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(296, 92%, 6%)?

HEX: #1B011D | RGB: rgb(27, 1, 29) | CMYK: 7%, 97%, 0%, 89% | HSV: 296°, 97%, 11%. Copy any format from the conversion table above.

What colors go well with #1B011D?

The complementary color is HSL(116, 92%, 6%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(296, 92%, 6%) in CSS?

As HSL: color: hsl(296, 92%, 6%); — As HEX: color: #1B011D; — As RGB: color: rgb(27, 1, 29); — Tailwind CSS: bg-[hsl(296,92%,6%)] — CSS variable: --color-primary: hsl(296, 92%, 6%);