HSL(287, 40%, 4%)

Very Dark Purple — Purple color

Adjust Color

Color Information

Color Name

Very Dark Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(287,40%,4%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 40%, 4%) color: hsl(287, 40%, 4%)
HEX #0D060E color: #0D060E
RGB rgb(13, 6, 14) color: rgb(13, 6, 14)
CMYK cmyk(7%, 57%, 0%, 95%)
HSV hsv(293, 57%, 5%)
HWB hwb(293 2% 95%) color: hwb(293 2% 95%)
OKLCH oklch(0.1379 0.0223 322.62) color: oklch(0.1379 0.0223 322.62)
Lab lab(2.24 3.08 -2.54) color: lab(2.24 3.08 -2.54)
LCH lch(2.24 3.99 320.49) color: lch(2.24 3.99 320.49)

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.01:1
vs Black 1.05: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)

#0A0A0C — rgb(10, 10, 12)

Deuteranopia (Green-blind)

#0A0B0C — rgb(10, 11, 12)

Tritanopia (Blue-blind)

#0D0B0A — rgb(13, 11, 10)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 40%, 4%);

text

color: hsl(287, 40%, 4%);

border

border: 2px solid hsl(287, 40%, 4%);

gradient light

background: linear-gradient(to right, hsl(287, 40%, 24%), hsl(287, 40%, 4%));

gradient dark

background: linear-gradient(to right, hsl(287, 40%, 4%), hsl(287, 40%, 0%))

hex

background-color: #0D060E;

tailwind

bg-[hsl(287,40%,4%)]

box shadow

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

css variable

--color-primary: hsl(287, 40%, 4%);

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(287, 40%, 4%)?

HEX: #0D060E | RGB: rgb(13, 6, 14) | CMYK: 7%, 57%, 0%, 95% | HSV: 293°, 57%, 5%. Copy any format from the conversion table above.

What colors go well with #0D060E?

The complementary color is HSL(107, 40%, 4%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(287, 40%, 4%) in CSS?

As HSL: color: hsl(287, 40%, 4%); — As HEX: color: #0D060E; — As RGB: color: rgb(13, 6, 14); — Tailwind CSS: bg-[hsl(287,40%,4%)] — CSS variable: --color-primary: hsl(287, 40%, 4%);