HSL(287, 94%, 10%)

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,94%,10%)]

Color Conversions

Format Value CSS Usage
HSL hsl(287, 94%, 10%) color: hsl(287, 94%, 10%)
HEX #270231 color: #270231
RGB rgb(39, 2, 49) color: rgb(39, 2, 49)
CMYK cmyk(20%, 96%, 0%, 81%)
HSV hsv(287, 96%, 19%)
HWB hwb(287 1% 81%) color: hwb(287 1% 81%)
OKLCH oklch(0.2034 0.0927 318.05) color: oklch(0.2034 0.0927 318.05)
Lab lab(6.29 26.85 -21.74) color: lab(6.29 26.85 -21.74)
LCH lch(6.29 34.55 321) color: lch(6.29 34.55 321)

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

#171726 — rgb(23, 23, 38)

Deuteranopia (Green-blind)

#191C23 — rgb(25, 28, 35)

Tritanopia (Blue-blind)

#251D1B — rgb(37, 29, 27)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(287, 94%, 10%);

text

color: hsl(287, 94%, 10%);

border

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

gradient light

background: linear-gradient(to right, hsl(287, 94%, 30%), hsl(287, 94%, 10%));

gradient dark

background: linear-gradient(to right, hsl(287, 94%, 10%), hsl(287, 94%, 0%))

hex

background-color: #270231;

tailwind

bg-[hsl(287,94%,10%)]

box shadow

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

css variable

--color-primary: hsl(287, 94%, 10%);

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, 94%, 10%)?

HEX: #270231 | RGB: rgb(39, 2, 49) | CMYK: 20%, 96%, 0%, 81% | HSV: 287°, 96%, 19%. Copy any format from the conversion table above.

What colors go well with #270231?

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

As HSL: color: hsl(287, 94%, 10%); — As HEX: color: #270231; — As RGB: color: rgb(39, 2, 49); — Tailwind CSS: bg-[hsl(287,94%,10%)] — CSS variable: --color-primary: hsl(287, 94%, 10%);