HSL(307, 40%, 33%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,40%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 40%, 33%) | color: hsl(307, 40%, 33%) | |
| HEX | #76326E | color: #76326E | |
| RGB | rgb(118, 50, 110) | color: rgb(118, 50, 110) | |
| CMYK | cmyk(0%, 58%, 7%, 54%) | — | |
| HSV | hsv(307, 58%, 46%) | — | |
| HWB | hwb(307 19% 54%) | color: hwb(307 19% 54%) | |
| OKLCH | oklch(0.433 0.1235 332.2) | color: oklch(0.433 0.1235 332.2) | |
| Lab | lab(32.39 38.19 -21.11) | color: lab(32.39 38.19 -21.11) | |
| LCH | lch(32.39 43.64 331.07) | color: lch(32.39 43.64 331.07) |
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)
#59585F — rgb(89, 88, 95)
Deuteranopia (Green-blind)
#5D625C — rgb(93, 98, 92)
Tritanopia (Blue-blind)
#735452 — rgb(115, 84, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 40%, 33%);
text
color: hsl(307, 40%, 33%);
border
border: 2px solid hsl(307, 40%, 33%);
gradient light
background: linear-gradient(to right, hsl(307, 40%, 53%), hsl(307, 40%, 33%));
gradient dark
background: linear-gradient(to right, hsl(307, 40%, 33%), hsl(307, 40%, 13%))
hex
background-color: #76326E;
tailwind
bg-[hsl(307,40%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 40%, 33%, 0.4);
css variable
--color-primary: hsl(307, 40%, 33%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 40%, 33%)?
HEX: #76326E | RGB: rgb(118, 50, 110) | CMYK: 0%, 58%, 7%, 54% | HSV: 307°, 58%, 46%. Copy any format from the conversion table above.
What colors go well with #76326E?
The complementary color is HSL(127, 40%, 33%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 40%, 33%) in CSS?
As HSL: color: hsl(307, 40%, 33%); — As HEX: color: #76326E; — As RGB: color: rgb(118, 50, 110); — Tailwind CSS: bg-[hsl(307,40%,33%)] — CSS variable: --color-primary: hsl(307, 40%, 33%);