HSL(312, 63%, 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(312,63%,3%)]

Color Conversions

Format Value CSS Usage
HSL hsl(312, 63%, 3%) color: hsl(312, 63%, 3%)
HEX #0C030B color: #0C030B
RGB rgb(12, 3, 11) color: rgb(12, 3, 11)
CMYK cmyk(0%, 75%, 8%, 95%)
HSV hsv(307, 75%, 5%)
HWB hwb(307 1% 95%) color: hwb(307 1% 95%)
OKLCH oklch(0.1225 0.0297 330.51) color: oklch(0.1225 0.0297 330.51)
Lab lab(1.51 3.5 -2.2) color: lab(1.51 3.5 -2.2)
LCH lch(1.51 4.13 327.85) color: lch(1.51 4.13 327.85)

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.32: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)

#080809 — rgb(8, 8, 9)

Deuteranopia (Green-blind)

#090909 — rgb(9, 9, 9)

Tritanopia (Blue-blind)

#0C0807 — rgb(12, 8, 7)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(312, 63%, 3%);

text

color: hsl(312, 63%, 3%);

border

border: 2px solid hsl(312, 63%, 3%);

gradient light

background: linear-gradient(to right, hsl(312, 63%, 23%), hsl(312, 63%, 3%));

gradient dark

background: linear-gradient(to right, hsl(312, 63%, 3%), hsl(312, 63%, 0%))

hex

background-color: #0C030B;

tailwind

bg-[hsl(312,63%,3%)]

box shadow

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

css variable

--color-primary: hsl(312, 63%, 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(312, 63%, 3%)?

HEX: #0C030B | RGB: rgb(12, 3, 11) | CMYK: 0%, 75%, 8%, 95% | HSV: 307°, 75%, 5%. Copy any format from the conversion table above.

What colors go well with #0C030B?

The complementary color is HSL(132, 63%, 3%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(312, 63%, 3%) in CSS?

As HSL: color: hsl(312, 63%, 3%); — As HEX: color: #0C030B; — As RGB: color: rgb(12, 3, 11); — Tailwind CSS: bg-[hsl(312,63%,3%)] — CSS variable: --color-primary: hsl(312, 63%, 3%);