HSL(303, 71%, 3%)

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(303,71%,3%)]

Color Conversions

Format Value CSS Usage
HSL hsl(303, 71%, 3%) color: hsl(303, 71%, 3%)
HEX #0D020D color: #0D020D
RGB rgb(13, 2, 13) color: rgb(13, 2, 13)
CMYK cmyk(0%, 85%, 0%, 95%)
HSV hsv(300, 85%, 5%)
HWB hwb(300 1% 95%) color: hwb(300 1% 95%)
OKLCH oklch(0.1214 0.0386 327.63) color: oklch(0.1214 0.0386 327.63)
Lab lab(1.43 4.51 -3.22) color: lab(1.43 4.51 -3.22)
LCH lch(1.43 5.54 324.47) color: lch(1.43 5.54 324.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 20.36:1
vs Black 1.03: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)

#08080A — rgb(8, 8, 10)

Deuteranopia (Green-blind)

#090A0A — rgb(9, 10, 10)

Tritanopia (Blue-blind)

#0C0808 — rgb(12, 8, 8)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(303, 71%, 3%);

text

color: hsl(303, 71%, 3%);

border

border: 2px solid hsl(303, 71%, 3%);

gradient light

background: linear-gradient(to right, hsl(303, 71%, 23%), hsl(303, 71%, 3%));

gradient dark

background: linear-gradient(to right, hsl(303, 71%, 3%), hsl(303, 71%, 0%))

hex

background-color: #0D020D;

tailwind

bg-[hsl(303,71%,3%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(303, 71%, 3%, 0.4);

css variable

--color-primary: hsl(303, 71%, 3%);

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(303, 71%, 3%)?

HEX: #0D020D | RGB: rgb(13, 2, 13) | CMYK: 0%, 85%, 0%, 95% | HSV: 300°, 85%, 5%. Copy any format from the conversion table above.

What colors go well with #0D020D?

The complementary color is HSL(123, 71%, 3%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(303, 71%, 3%) in CSS?

As HSL: color: hsl(303, 71%, 3%); — As HEX: color: #0D020D; — As RGB: color: rgb(13, 2, 13); — Tailwind CSS: bg-[hsl(303,71%,3%)] — CSS variable: --color-primary: hsl(303, 71%, 3%);