HSL(299, 50%, 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(299,50%,2%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 50%, 2%) color: hsl(299, 50%, 2%)
HEX #080308 color: #080308
RGB rgb(8, 3, 8) color: rgb(8, 3, 8)
CMYK cmyk(0%, 63%, 0%, 97%)
HSV hsv(300, 63%, 3%)
HWB hwb(300 1% 97%) color: hwb(300 1% 97%)
OKLCH oklch(0.1129 0.0208 326.85) color: oklch(0.1129 0.0208 326.85)
Lab lab(1.21 2 -1.43) color: lab(1.21 2 -1.43)
LCH lch(1.21 2.46 324.44) color: lch(1.21 2.46 324.44)

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

#060607 — rgb(6, 6, 7)

Deuteranopia (Green-blind)

#060707 — rgb(6, 7, 7)

Tritanopia (Blue-blind)

#080606 — rgb(8, 6, 6)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 50%, 2%);

text

color: hsl(299, 50%, 2%);

border

border: 2px solid hsl(299, 50%, 2%);

gradient light

background: linear-gradient(to right, hsl(299, 50%, 22%), hsl(299, 50%, 2%));

gradient dark

background: linear-gradient(to right, hsl(299, 50%, 2%), hsl(299, 50%, 0%))

hex

background-color: #080308;

tailwind

bg-[hsl(299,50%,2%)]

box shadow

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

css variable

--color-primary: hsl(299, 50%, 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(299, 50%, 2%)?

HEX: #080308 | RGB: rgb(8, 3, 8) | CMYK: 0%, 63%, 0%, 97% | HSV: 300°, 63%, 3%. Copy any format from the conversion table above.

What colors go well with #080308?

The complementary color is HSL(119, 50%, 2%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 50%, 2%) in CSS?

As HSL: color: hsl(299, 50%, 2%); — As HEX: color: #080308; — As RGB: color: rgb(8, 3, 8); — Tailwind CSS: bg-[hsl(299,50%,2%)] — CSS variable: --color-primary: hsl(299, 50%, 2%);