HSL(306, 40%, 32%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,40%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 40%, 32%) | color: hsl(306, 40%, 32%) | |
| HEX | #72316C | color: #72316C | |
| RGB | rgb(114, 49, 108) | color: rgb(114, 49, 108) | |
| CMYK | cmyk(0%, 57%, 5%, 55%) | — | |
| HSV | hsv(306, 57%, 45%) | — | |
| HWB | hwb(306 19% 55%) | color: hwb(306 19% 55%) | |
| OKLCH | oklch(0.4247 0.1205 331.11) | color: oklch(0.4247 0.1205 331.11) | |
| Lab | lab(31.48 37.1 -21.3) | color: lab(31.48 37.1 -21.3) | |
| LCH | lch(31.48 42.78 330.14) | color: lch(31.48 42.78 330.14) |
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)
#56555E — rgb(86, 85, 94)
Deuteranopia (Green-blind)
#5A5F5A — rgb(90, 95, 90)
Tritanopia (Blue-blind)
#6F5250 — rgb(111, 82, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 40%, 32%);
text
color: hsl(306, 40%, 32%);
border
border: 2px solid hsl(306, 40%, 32%);
gradient light
background: linear-gradient(to right, hsl(306, 40%, 52%), hsl(306, 40%, 32%));
gradient dark
background: linear-gradient(to right, hsl(306, 40%, 32%), hsl(306, 40%, 12%))
hex
background-color: #72316C;
tailwind
bg-[hsl(306,40%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 40%, 32%, 0.4);
css variable
--color-primary: hsl(306, 40%, 32%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 40%, 32%)?
HEX: #72316C | RGB: rgb(114, 49, 108) | CMYK: 0%, 57%, 5%, 55% | HSV: 306°, 57%, 45%. Copy any format from the conversion table above.
What colors go well with #72316C?
The complementary color is HSL(126, 40%, 32%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 40%, 32%) in CSS?
As HSL: color: hsl(306, 40%, 32%); — As HEX: color: #72316C; — As RGB: color: rgb(114, 49, 108); — Tailwind CSS: bg-[hsl(306,40%,32%)] — CSS variable: --color-primary: hsl(306, 40%, 32%);