HSL(308, 10%, 27%)
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%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 10%, 27%) | color: hsl(308, 10%, 27%) | |
| HEX | #4C3E4A | color: #4C3E4A | |
| RGB | rgb(76, 62, 74) | color: rgb(76, 62, 74) | |
| CMYK | cmyk(0%, 18%, 3%, 70%) | — | |
| HSV | hsv(309, 18%, 30%) | — | |
| HWB | hwb(309 25% 70%) | color: hwb(309 25% 70%) | |
| OKLCH | oklch(0.383 0.0274 330.88) | color: oklch(0.383 0.0274 330.88) | |
| Lab | lab(28.05 8.54 -5.01) | color: lab(28.05 8.54 -5.01) | |
| LCH | lch(28.05 9.9 329.6) | color: lch(28.05 9.9 329.6) |
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)
#464647 — rgb(70, 70, 71)
Deuteranopia (Green-blind)
#474846 — rgb(71, 72, 70)
Tritanopia (Blue-blind)
#4B4544 — rgb(75, 69, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 10%, 27%);
text
color: hsl(308, 10%, 27%);
border
border: 2px solid hsl(308, 10%, 27%);
gradient light
background: linear-gradient(to right, hsl(308, 10%, 47%), hsl(308, 10%, 27%));
gradient dark
background: linear-gradient(to right, hsl(308, 10%, 27%), hsl(308, 10%, 7%))
hex
background-color: #4C3E4A;
tailwind
bg-[hsl(308,10%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 10%, 27%, 0.4);
css variable
--color-primary: hsl(308, 10%, 27%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 10%, 27%)?
HEX: #4C3E4A | RGB: rgb(76, 62, 74) | CMYK: 0%, 18%, 3%, 70% | HSV: 309°, 18%, 30%. Copy any format from the conversion table above.
What colors go well with #4C3E4A?
The complementary color is HSL(128, 10%, 27%). 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%, 27%) in CSS?
As HSL: color: hsl(308, 10%, 27%); — As HEX: color: #4C3E4A; — As RGB: color: rgb(76, 62, 74); — Tailwind CSS: bg-[hsl(308,10%,27%)] — CSS variable: --color-primary: hsl(308, 10%, 27%);