HSL(295, 10%, 19%)
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(295,10%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 10%, 19%) | color: hsl(295, 10%, 19%) | |
| HEX | #342C35 | color: #342C35 | |
| RGB | rgb(52, 44, 53) | color: rgb(52, 44, 53) | |
| CMYK | cmyk(2%, 17%, 0%, 79%) | — | |
| HSV | hsv(293, 17%, 21%) | — | |
| HWB | hwb(293 17% 79%) | color: hwb(293 17% 79%) | |
| OKLCH | oklch(0.3054 0.0194 322.51) | color: oklch(0.3054 0.0194 322.51) | |
| Lab | lab(19.18 5.68 -4.42) | color: lab(19.18 5.68 -4.42) | |
| LCH | lch(19.18 7.2 322.11) | color: lch(19.18 7.2 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)
#313033 — rgb(49, 48, 51)
Deuteranopia (Green-blind)
#313232 — rgb(49, 50, 50)
Tritanopia (Blue-blind)
#343131 — rgb(52, 49, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 10%, 19%);
text
color: hsl(295, 10%, 19%);
border
border: 2px solid hsl(295, 10%, 19%);
gradient light
background: linear-gradient(to right, hsl(295, 10%, 39%), hsl(295, 10%, 19%));
gradient dark
background: linear-gradient(to right, hsl(295, 10%, 19%), hsl(295, 10%, 0%))
hex
background-color: #342C35;
tailwind
bg-[hsl(295,10%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 10%, 19%, 0.4);
css variable
--color-primary: hsl(295, 10%, 19%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 10%, 19%)?
HEX: #342C35 | RGB: rgb(52, 44, 53) | CMYK: 2%, 17%, 0%, 79% | HSV: 293°, 17%, 21%. Copy any format from the conversion table above.
What colors go well with #342C35?
The complementary color is HSL(115, 10%, 19%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 10%, 19%) in CSS?
As HSL: color: hsl(295, 10%, 19%); — As HEX: color: #342C35; — As RGB: color: rgb(52, 44, 53); — Tailwind CSS: bg-[hsl(295,10%,19%)] — CSS variable: --color-primary: hsl(295, 10%, 19%);