HSL(308, 10%, 47%)
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(308,10%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 10%, 47%) | color: hsl(308, 10%, 47%) | |
| HEX | #846C81 | color: #846C81 | |
| RGB | rgb(132, 108, 129) | color: rgb(132, 108, 129) | |
| CMYK | cmyk(0%, 18%, 2%, 48%) | — | |
| HSV | hsv(308, 18%, 52%) | — | |
| HWB | hwb(308 43% 48%) | color: hwb(308 43% 48%) | |
| OKLCH | oklch(0.5615 0.0431 330.29) | color: oklch(0.5615 0.0431 330.29) | |
| Lab | lab(48.53 13.38 -8.01) | color: lab(48.53 13.38 -8.01) | |
| LCH | lch(48.53 15.59 329.09) | color: lch(48.53 15.59 329.09) |
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)
#7A797C — rgb(122, 121, 124)
Deuteranopia (Green-blind)
#7B7D7B — rgb(123, 125, 123)
Tritanopia (Blue-blind)
#837877 — rgb(131, 120, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 10%, 47%);
text
color: hsl(308, 10%, 47%);
border
border: 2px solid hsl(308, 10%, 47%);
gradient light
background: linear-gradient(to right, hsl(308, 10%, 67%), hsl(308, 10%, 47%));
gradient dark
background: linear-gradient(to right, hsl(308, 10%, 47%), hsl(308, 10%, 27%))
hex
background-color: #846C81;
tailwind
bg-[hsl(308,10%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 10%, 47%, 0.4);
css variable
--color-primary: hsl(308, 10%, 47%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 10%, 47%)?
HEX: #846C81 | RGB: rgb(132, 108, 129) | CMYK: 0%, 18%, 2%, 48% | HSV: 308°, 18%, 52%. Copy any format from the conversion table above.
What colors go well with #846C81?
The complementary color is HSL(128, 10%, 47%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 10%, 47%) in CSS?
As HSL: color: hsl(308, 10%, 47%); — As HEX: color: #846C81; — As RGB: color: rgb(132, 108, 129); — Tailwind CSS: bg-[hsl(308,10%,47%)] — CSS variable: --color-primary: hsl(308, 10%, 47%);