HSL(296, 10%, 40%)
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(296,10%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 10%, 40%) | color: hsl(296, 10%, 40%) | |
| HEX | #6F5C70 | color: #6F5C70 | |
| RGB | rgb(111, 92, 112) | color: rgb(111, 92, 112) | |
| CMYK | cmyk(1%, 18%, 0%, 56%) | — | |
| HSV | hsv(297, 18%, 44%) | — | |
| HWB | hwb(297 36% 56%) | color: hwb(297 36% 56%) | |
| OKLCH | oklch(0.5005 0.039 324.57) | color: oklch(0.5005 0.039 324.57) | |
| Lab | lab(41.54 11.62 -8.45) | color: lab(41.54 11.62 -8.45) | |
| LCH | lch(41.54 14.37 323.98) | color: lch(41.54 14.37 323.98) |
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)
#67676B — rgb(103, 103, 107)
Deuteranopia (Green-blind)
#68696A — rgb(104, 105, 106)
Tritanopia (Blue-blind)
#6E6767 — rgb(110, 103, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 10%, 40%);
text
color: hsl(296, 10%, 40%);
border
border: 2px solid hsl(296, 10%, 40%);
gradient light
background: linear-gradient(to right, hsl(296, 10%, 60%), hsl(296, 10%, 40%));
gradient dark
background: linear-gradient(to right, hsl(296, 10%, 40%), hsl(296, 10%, 20%))
hex
background-color: #6F5C70;
tailwind
bg-[hsl(296,10%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 10%, 40%, 0.4);
css variable
--color-primary: hsl(296, 10%, 40%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 10%, 40%)?
HEX: #6F5C70 | RGB: rgb(111, 92, 112) | CMYK: 1%, 18%, 0%, 56% | HSV: 297°, 18%, 44%. Copy any format from the conversion table above.
What colors go well with #6F5C70?
The complementary color is HSL(116, 10%, 40%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 10%, 40%) in CSS?
As HSL: color: hsl(296, 10%, 40%); — As HEX: color: #6F5C70; — As RGB: color: rgb(111, 92, 112); — Tailwind CSS: bg-[hsl(296,10%,40%)] — CSS variable: --color-primary: hsl(296, 10%, 40%);