HSL(313, 11%, 21%)
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(313,11%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 11%, 21%) | color: hsl(313, 11%, 21%) | |
| HEX | #3B3039 | color: #3B3039 | |
| RGB | rgb(59, 48, 57) | color: rgb(59, 48, 57) | |
| CMYK | cmyk(0%, 19%, 3%, 77%) | — | |
| HSV | hsv(311, 19%, 23%) | — | |
| HWB | hwb(311 19% 77%) | color: hwb(311 19% 77%) | |
| OKLCH | oklch(0.3247 0.0219 332.27) | color: oklch(0.3247 0.0219 332.27) | |
| Lab | lab(21.35 6.89 -3.84) | color: lab(21.35 6.89 -3.84) | |
| LCH | lch(21.35 7.89 330.87) | color: lch(21.35 7.89 330.87) |
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)
#363637 — rgb(54, 54, 55)
Deuteranopia (Green-blind)
#373836 — rgb(55, 56, 54)
Tritanopia (Blue-blind)
#3A3535 — rgb(58, 53, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 11%, 21%);
text
color: hsl(313, 11%, 21%);
border
border: 2px solid hsl(313, 11%, 21%);
gradient light
background: linear-gradient(to right, hsl(313, 11%, 41%), hsl(313, 11%, 21%));
gradient dark
background: linear-gradient(to right, hsl(313, 11%, 21%), hsl(313, 11%, 1%))
hex
background-color: #3B3039;
tailwind
bg-[hsl(313,11%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 11%, 21%, 0.4);
css variable
--color-primary: hsl(313, 11%, 21%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 11%, 21%)?
HEX: #3B3039 | RGB: rgb(59, 48, 57) | CMYK: 0%, 19%, 3%, 77% | HSV: 311°, 19%, 23%. Copy any format from the conversion table above.
What colors go well with #3B3039?
The complementary color is HSL(133, 11%, 21%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 11%, 21%) in CSS?
As HSL: color: hsl(313, 11%, 21%); — As HEX: color: #3B3039; — As RGB: color: rgb(59, 48, 57); — Tailwind CSS: bg-[hsl(313,11%,21%)] — CSS variable: --color-primary: hsl(313, 11%, 21%);