HSL(291, 10%, 29%)
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(291,10%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 10%, 29%) | color: hsl(291, 10%, 29%) | |
| HEX | #4F4351 | color: #4F4351 | |
| RGB | rgb(79, 67, 81) | color: rgb(79, 67, 81) | |
| CMYK | cmyk(2%, 17%, 0%, 68%) | — | |
| HSV | hsv(291, 17%, 32%) | — | |
| HWB | hwb(291 27% 68%) | color: hwb(291 27% 68%) | |
| OKLCH | oklch(0.4004 0.0279 321.46) | color: oklch(0.4004 0.0279 321.46) | |
| Lab | lab(30.09 8.07 -6.48) | color: lab(30.09 8.07 -6.48) | |
| LCH | lch(30.09 10.35 321.24) | color: lch(30.09 10.35 321.24) |
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)
#4A4A4E — rgb(74, 74, 78)
Deuteranopia (Green-blind)
#4B4B4D — rgb(75, 75, 77)
Tritanopia (Blue-blind)
#4E4B4A — rgb(78, 75, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 10%, 29%);
text
color: hsl(291, 10%, 29%);
border
border: 2px solid hsl(291, 10%, 29%);
gradient light
background: linear-gradient(to right, hsl(291, 10%, 49%), hsl(291, 10%, 29%));
gradient dark
background: linear-gradient(to right, hsl(291, 10%, 29%), hsl(291, 10%, 9%))
hex
background-color: #4F4351;
tailwind
bg-[hsl(291,10%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 10%, 29%, 0.4);
css variable
--color-primary: hsl(291, 10%, 29%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 10%, 29%)?
HEX: #4F4351 | RGB: rgb(79, 67, 81) | CMYK: 2%, 17%, 0%, 68% | HSV: 291°, 17%, 32%. Copy any format from the conversion table above.
What colors go well with #4F4351?
The complementary color is HSL(111, 10%, 29%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 10%, 29%) in CSS?
As HSL: color: hsl(291, 10%, 29%); — As HEX: color: #4F4351; — As RGB: color: rgb(79, 67, 81); — Tailwind CSS: bg-[hsl(291,10%,29%)] — CSS variable: --color-primary: hsl(291, 10%, 29%);