HSL(291, 10%, 12%)

Very Dark Purple — Purple color

Adjust Color

Color Information

Color Name

Very Dark Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(291,10%,12%)]

Color Conversions

Format Value CSS Usage
HSL hsl(291, 10%, 12%) color: hsl(291, 10%, 12%)
HEX #211C22 color: #211C22
RGB rgb(33, 28, 34) color: rgb(33, 28, 34)
CMYK cmyk(3%, 18%, 0%, 87%)
HSV hsv(290, 18%, 13%)
HWB hwb(290 11% 87%) color: hwb(290 11% 87%)
OKLCH oklch(0.2348 0.0136 320.62) color: oklch(0.2348 0.0136 320.62)
Lab lab(11.06 3.89 -3.21) color: lab(11.06 3.89 -3.21)
LCH lch(11.06 5.04 320.47) color: lch(11.06 5.04 320.47)

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

#1F1F21 — rgb(31, 31, 33)

Deuteranopia (Green-blind)

#1F2020 — rgb(31, 32, 32)

Tritanopia (Blue-blind)

#211F1F — rgb(33, 31, 31)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(291, 10%, 12%);

text

color: hsl(291, 10%, 12%);

border

border: 2px solid hsl(291, 10%, 12%);

gradient light

background: linear-gradient(to right, hsl(291, 10%, 32%), hsl(291, 10%, 12%));

gradient dark

background: linear-gradient(to right, hsl(291, 10%, 12%), hsl(291, 10%, 0%))

hex

background-color: #211C22;

tailwind

bg-[hsl(291,10%,12%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(291, 10%, 12%, 0.4);

css variable

--color-primary: hsl(291, 10%, 12%);

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(291, 10%, 12%)?

HEX: #211C22 | RGB: rgb(33, 28, 34) | CMYK: 3%, 18%, 0%, 87% | HSV: 290°, 18%, 13%. Copy any format from the conversion table above.

What colors go well with #211C22?

The complementary color is HSL(111, 10%, 12%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(291, 10%, 12%) in CSS?

As HSL: color: hsl(291, 10%, 12%); — As HEX: color: #211C22; — As RGB: color: rgb(33, 28, 34); — Tailwind CSS: bg-[hsl(291,10%,12%)] — CSS variable: --color-primary: hsl(291, 10%, 12%);