HSL(313, 40%, 8%)

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(313,40%,8%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 40%, 8%) color: hsl(313, 40%, 8%)
HEX #1D0C19 color: #1D0C19
RGB rgb(29, 12, 25) color: rgb(29, 12, 25)
CMYK cmyk(0%, 59%, 14%, 89%)
HSV hsv(314, 59%, 11%)
HWB hwb(314 5% 89%) color: hwb(314 5% 89%)
OKLCH oklch(0.1858 0.037 336.3) color: oklch(0.1858 0.037 336.3)
Lab lab(5.37 10.19 -4.92) color: lab(5.37 10.19 -4.92)
LCH lch(5.37 11.32 334.23) color: lch(5.37 11.32 334.23)

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

#161516 — rgb(22, 21, 22)

Deuteranopia (Green-blind)

#171815 — rgb(23, 24, 21)

Tritanopia (Blue-blind)

#1C1313 — rgb(28, 19, 19)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 40%, 8%);

text

color: hsl(313, 40%, 8%);

border

border: 2px solid hsl(313, 40%, 8%);

gradient light

background: linear-gradient(to right, hsl(313, 40%, 28%), hsl(313, 40%, 8%));

gradient dark

background: linear-gradient(to right, hsl(313, 40%, 8%), hsl(313, 40%, 0%))

hex

background-color: #1D0C19;

tailwind

bg-[hsl(313,40%,8%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(313, 40%, 8%, 0.4);

css variable

--color-primary: hsl(313, 40%, 8%);

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(313, 40%, 8%)?

HEX: #1D0C19 | RGB: rgb(29, 12, 25) | CMYK: 0%, 59%, 14%, 89% | HSV: 314°, 59%, 11%. Copy any format from the conversion table above.

What colors go well with #1D0C19?

The complementary color is HSL(133, 40%, 8%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(313, 40%, 8%) in CSS?

As HSL: color: hsl(313, 40%, 8%); — As HEX: color: #1D0C19; — As RGB: color: rgb(29, 12, 25); — Tailwind CSS: bg-[hsl(313,40%,8%)] — CSS variable: --color-primary: hsl(313, 40%, 8%);