HSL(313, 51%, 9%)

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(313,51%,9%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 51%, 9%) color: hsl(313, 51%, 9%)
HEX #230B1E color: #230B1E
RGB rgb(35, 11, 30) color: rgb(35, 11, 30)
CMYK cmyk(0%, 69%, 14%, 86%)
HSV hsv(313, 69%, 14%)
HWB hwb(313 4% 86%) color: hwb(313 4% 86%)
OKLCH oklch(0.197 0.0511 335.94) color: oklch(0.197 0.0511 335.94)
Lab lab(6.24 15.41 -7.44) color: lab(6.24 15.41 -7.44)
LCH lch(6.24 17.11 334.23) color: lch(6.24 17.11 334.23)

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 18.45:1
vs Black 1.14: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)

#191819 — rgb(25, 24, 25)

Deuteranopia (Green-blind)

#1A1C18 — rgb(26, 28, 24)

Tritanopia (Blue-blind)

#221615 — rgb(34, 22, 21)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 51%, 9%);

text

color: hsl(313, 51%, 9%);

border

border: 2px solid hsl(313, 51%, 9%);

gradient light

background: linear-gradient(to right, hsl(313, 51%, 29%), hsl(313, 51%, 9%));

gradient dark

background: linear-gradient(to right, hsl(313, 51%, 9%), hsl(313, 51%, 0%))

hex

background-color: #230B1E;

tailwind

bg-[hsl(313,51%,9%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(313, 51%, 9%, 0.4);

css variable

--color-primary: hsl(313, 51%, 9%);

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(313, 51%, 9%)?

HEX: #230B1E | RGB: rgb(35, 11, 30) | CMYK: 0%, 69%, 14%, 86% | HSV: 313°, 69%, 14%. Copy any format from the conversion table above.

What colors go well with #230B1E?

The complementary color is HSL(133, 51%, 9%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(313, 51%, 9%) in CSS?

As HSL: color: hsl(313, 51%, 9%); — As HEX: color: #230B1E; — As RGB: color: rgb(35, 11, 30); — Tailwind CSS: bg-[hsl(313,51%,9%)] — CSS variable: --color-primary: hsl(313, 51%, 9%);