HSL(310, 30%, 9%)

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(310,30%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(310, 30%, 9%) color: hsl(310, 30%, 9%)
HEX #1E101C color: #1E101C
RGB rgb(30, 16, 28) color: rgb(30, 16, 28)
CMYK cmyk(0%, 47%, 7%, 88%)
HSV hsv(309, 47%, 12%)
HWB hwb(309 6% 88%) color: hwb(309 6% 88%)
OKLCH oklch(0.198 0.0319 331.9) color: oklch(0.198 0.0319 331.9)
Lab lab(6.6 9.55 -5.43) color: lab(6.6 9.55 -5.43)
LCH lch(6.6 10.99 330.38) color: lch(6.6 10.99 330.38)

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

#181819 — rgb(24, 24, 25)

Deuteranopia (Green-blind)

#191A18 — rgb(25, 26, 24)

Tritanopia (Blue-blind)

#1D1716 — rgb(29, 23, 22)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(310, 30%, 9%);

text

color: hsl(310, 30%, 9%);

border

border: 2px solid hsl(310, 30%, 9%);

gradient light

background: linear-gradient(to right, hsl(310, 30%, 29%), hsl(310, 30%, 9%));

gradient dark

background: linear-gradient(to right, hsl(310, 30%, 9%), hsl(310, 30%, 0%))

hex

background-color: #1E101C;

tailwind

bg-[hsl(310,30%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(310, 30%, 9%, 0.4);

css variable

--color-primary: hsl(310, 30%, 9%);

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(310, 30%, 9%)?

HEX: #1E101C | RGB: rgb(30, 16, 28) | CMYK: 0%, 47%, 7%, 88% | HSV: 309°, 47%, 12%. Copy any format from the conversion table above.

What colors go well with #1E101C?

The complementary color is HSL(130, 30%, 9%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(310, 30%, 9%) in CSS?

As HSL: color: hsl(310, 30%, 9%); — As HEX: color: #1E101C; — As RGB: color: rgb(30, 16, 28); — Tailwind CSS: bg-[hsl(310,30%,9%)] — CSS variable: --color-primary: hsl(310, 30%, 9%);