HSL(308, 10%, 16%)

Grayish Purple — Purple color

Adjust Color

Color Information

Color Name

Grayish Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(308,10%,16%)]

Color Conversions

Format Value CSS Usage
HSL hsl(308, 10%, 16%) color: hsl(308, 10%, 16%)
HEX #2D252C color: #2D252C
RGB rgb(45, 37, 44) color: rgb(45, 37, 44)
CMYK cmyk(0%, 18%, 2%, 82%)
HSV hsv(308, 18%, 18%)
HWB hwb(308 15% 82%) color: hwb(308 15% 82%)
OKLCH oklch(0.2763 0.0172 330.13) color: oklch(0.2763 0.0172 330.13)
Lab lab(15.81 5.33 -3.22) color: lab(15.81 5.33 -3.22)
LCH lch(15.81 6.23 328.86) color: lch(15.81 6.23 328.86)

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 14.87:1
vs Black 1.41: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)

#2A292A — rgb(42, 41, 42)

Deuteranopia (Green-blind)

#2A2B2A — rgb(42, 43, 42)

Tritanopia (Blue-blind)

#2D2929 — rgb(45, 41, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(308, 10%, 16%);

text

color: hsl(308, 10%, 16%);

border

border: 2px solid hsl(308, 10%, 16%);

gradient light

background: linear-gradient(to right, hsl(308, 10%, 36%), hsl(308, 10%, 16%));

gradient dark

background: linear-gradient(to right, hsl(308, 10%, 16%), hsl(308, 10%, 0%))

hex

background-color: #2D252C;

tailwind

bg-[hsl(308,10%,16%)]

box shadow

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

css variable

--color-primary: hsl(308, 10%, 16%);

Related Colors

Use Cases for Grayish Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(308, 10%, 16%)?

HEX: #2D252C | RGB: rgb(45, 37, 44) | CMYK: 0%, 18%, 2%, 82% | HSV: 308°, 18%, 18%. Copy any format from the conversion table above.

What colors go well with #2D252C?

The complementary color is HSL(128, 10%, 16%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(308, 10%, 16%) in CSS?

As HSL: color: hsl(308, 10%, 16%); — As HEX: color: #2D252C; — As RGB: color: rgb(45, 37, 44); — Tailwind CSS: bg-[hsl(308,10%,16%)] — CSS variable: --color-primary: hsl(308, 10%, 16%);