HSL(305, 10%, 19%)
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(305,10%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(305, 10%, 19%) | color: hsl(305, 10%, 19%) | |
| HEX | #352C34 | color: #352C34 | |
| RGB | rgb(53, 44, 52) | color: rgb(53, 44, 52) | |
| CMYK | cmyk(0%, 17%, 2%, 79%) | — | |
| HSV | hsv(307, 17%, 21%) | — | |
| HWB | hwb(307 17% 79%) | color: hwb(307 17% 79%) | |
| OKLCH | oklch(0.3061 0.019 329.64) | color: oklch(0.3061 0.019 329.64) | |
| Lab | lab(19.25 5.87 -3.61) | color: lab(19.25 5.87 -3.61) | |
| LCH | lch(19.25 6.89 328.41) | color: lch(19.25 6.89 328.41) |
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)
#313132 — rgb(49, 49, 50)
Deuteranopia (Green-blind)
#323232 — rgb(50, 50, 50)
Tritanopia (Blue-blind)
#353130 — rgb(53, 49, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(305, 10%, 19%);
text
color: hsl(305, 10%, 19%);
border
border: 2px solid hsl(305, 10%, 19%);
gradient light
background: linear-gradient(to right, hsl(305, 10%, 39%), hsl(305, 10%, 19%));
gradient dark
background: linear-gradient(to right, hsl(305, 10%, 19%), hsl(305, 10%, 0%))
hex
background-color: #352C34;
tailwind
bg-[hsl(305,10%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(305, 10%, 19%, 0.4);
css variable
--color-primary: hsl(305, 10%, 19%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(305, 10%, 19%)?
HEX: #352C34 | RGB: rgb(53, 44, 52) | CMYK: 0%, 17%, 2%, 79% | HSV: 307°, 17%, 21%. Copy any format from the conversion table above.
What colors go well with #352C34?
The complementary color is HSL(125, 10%, 19%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(305, 10%, 19%) in CSS?
As HSL: color: hsl(305, 10%, 19%); — As HEX: color: #352C34; — As RGB: color: rgb(53, 44, 52); — Tailwind CSS: bg-[hsl(305,10%,19%)] — CSS variable: --color-primary: hsl(305, 10%, 19%);