HSL(287, 70%, 2%)

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,70%,2%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 70%, 2%) color: hsl(287, 70%, 2%)
HEX #070209 color: #070209
RGB rgb(7, 2, 9) color: rgb(7, 2, 9)
CMYK cmyk(22%, 78%, 0%, 96%)
HSV hsv(283, 78%, 4%)
HWB hwb(283 1% 96%) color: hwb(283 1% 96%)
OKLCH oklch(0.106 0.0276 318.75) color: oklch(0.106 0.0276 318.75)
Lab lab(0.98 2.28 -2.19) color: lab(0.98 2.28 -2.19)
LCH lch(0.98 3.16 316.15) color: lch(0.98 3.16 316.15)

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.55:1
vs Black 1.02: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)

#050507 — rgb(5, 5, 7)

Deuteranopia (Green-blind)

#050607 — rgb(5, 6, 7)

Tritanopia (Blue-blind)

#070606 — rgb(7, 6, 6)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 70%, 2%);

text

color: hsl(287, 70%, 2%);

border

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

gradient light

background: linear-gradient(to right, hsl(287, 70%, 22%), hsl(287, 70%, 2%));

gradient dark

background: linear-gradient(to right, hsl(287, 70%, 2%), hsl(287, 70%, 0%))

hex

background-color: #070209;

tailwind

bg-[hsl(287,70%,2%)]

box shadow

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

css variable

--color-primary: hsl(287, 70%, 2%);

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, 70%, 2%)?

HEX: #070209 | RGB: rgb(7, 2, 9) | CMYK: 22%, 78%, 0%, 96% | HSV: 283°, 78%, 4%. Copy any format from the conversion table above.

What colors go well with #070209?

The complementary color is HSL(107, 70%, 2%). 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, 70%, 2%) in CSS?

As HSL: color: hsl(287, 70%, 2%); — As HEX: color: #070209; — As RGB: color: rgb(7, 2, 9); — Tailwind CSS: bg-[hsl(287,70%,2%)] — CSS variable: --color-primary: hsl(287, 70%, 2%);