HSL(313, 32%, 16%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,32%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 32%, 16%) | color: hsl(313, 32%, 16%) | |
| HEX | #361C30 | color: #361C30 | |
| RGB | rgb(54, 28, 48) | color: rgb(54, 28, 48) | |
| CMYK | cmyk(0%, 48%, 11%, 79%) | — | |
| HSV | hsv(314, 48%, 21%) | — | |
| HWB | hwb(314 11% 79%) | color: hwb(314 11% 79%) | |
| OKLCH | oklch(0.27 0.0518 335.99) | color: oklch(0.27 0.0518 335.99) | |
| Lab | lab(14.56 16.38 -7.84) | color: lab(14.56 16.38 -7.84) | |
| LCH | lch(14.56 18.16 334.42) | color: lch(14.56 18.16 334.42) |
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)
#2B2B2B — rgb(43, 43, 43)
Deuteranopia (Green-blind)
#2C2E2A — rgb(44, 46, 42)
Tritanopia (Blue-blind)
#352727 — rgb(53, 39, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 32%, 16%);
text
color: hsl(313, 32%, 16%);
border
border: 2px solid hsl(313, 32%, 16%);
gradient light
background: linear-gradient(to right, hsl(313, 32%, 36%), hsl(313, 32%, 16%));
gradient dark
background: linear-gradient(to right, hsl(313, 32%, 16%), hsl(313, 32%, 0%))
hex
background-color: #361C30;
tailwind
bg-[hsl(313,32%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 32%, 16%, 0.4);
css variable
--color-primary: hsl(313, 32%, 16%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 32%, 16%)?
HEX: #361C30 | RGB: rgb(54, 28, 48) | CMYK: 0%, 48%, 11%, 79% | HSV: 314°, 48%, 21%. Copy any format from the conversion table above.
What colors go well with #361C30?
The complementary color is HSL(133, 32%, 16%). 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, 32%, 16%) in CSS?
As HSL: color: hsl(313, 32%, 16%); — As HEX: color: #361C30; — As RGB: color: rgb(54, 28, 48); — Tailwind CSS: bg-[hsl(313,32%,16%)] — CSS variable: --color-primary: hsl(313, 32%, 16%);