HSL(293, 10%, 17%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(293,10%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 10%, 17%) | color: hsl(293, 10%, 17%) | |
| HEX | #2F2730 | color: #2F2730 | |
| RGB | rgb(47, 39, 48) | color: rgb(47, 39, 48) | |
| CMYK | cmyk(2%, 19%, 0%, 81%) | — | |
| HSV | hsv(293, 19%, 19%) | — | |
| HWB | hwb(293 15% 81%) | color: hwb(293 15% 81%) | |
| OKLCH | oklch(0.2853 0.0198 322.53) | color: oklch(0.2853 0.0198 322.53) | |
| Lab | lab(16.84 5.77 -4.49) | color: lab(16.84 5.77 -4.49) | |
| LCH | lch(16.84 7.31 322.11) | color: lch(16.84 7.31 322.11) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#2C2B2E — rgb(44, 43, 46)
Deuteranopia (Green-blind)
#2C2D2D — rgb(44, 45, 45)
Tritanopia (Blue-blind)
#2F2C2C — rgb(47, 44, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 10%, 17%);
text
color: hsl(293, 10%, 17%);
border
border: 2px solid hsl(293, 10%, 17%);
gradient light
background: linear-gradient(to right, hsl(293, 10%, 37%), hsl(293, 10%, 17%));
gradient dark
background: linear-gradient(to right, hsl(293, 10%, 17%), hsl(293, 10%, 0%))
hex
background-color: #2F2730;
tailwind
bg-[hsl(293,10%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 10%, 17%, 0.4);
css variable
--color-primary: hsl(293, 10%, 17%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 10%, 17%)?
HEX: #2F2730 | RGB: rgb(47, 39, 48) | CMYK: 2%, 19%, 0%, 81% | HSV: 293°, 19%, 19%. Copy any format from the conversion table above.
What colors go well with #2F2730?
The complementary color is HSL(113, 10%, 17%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 10%, 17%) in CSS?
As HSL: color: hsl(293, 10%, 17%); — As HEX: color: #2F2730; — As RGB: color: rgb(47, 39, 48); — Tailwind CSS: bg-[hsl(293,10%,17%)] — CSS variable: --color-primary: hsl(293, 10%, 17%);