HSL(309, 20%, 41%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,20%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 20%, 41%) | color: hsl(309, 20%, 41%) | |
| HEX | #7D5477 | color: #7D5477 | |
| RGB | rgb(125, 84, 119) | color: rgb(125, 84, 119) | |
| CMYK | cmyk(0%, 33%, 5%, 51%) | — | |
| HSV | hsv(309, 33%, 49%) | — | |
| HWB | hwb(309 33% 51%) | color: hwb(309 33% 51%) | |
| OKLCH | oklch(0.5028 0.0741 331.88) | color: oklch(0.5028 0.0741 331.88) | |
| Lab | lab(41.27 23.1 -12.99) | color: lab(41.27 23.1 -12.99) | |
| LCH | lch(41.27 26.5 330.65) | color: lch(41.27 26.5 330.65) |
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)
#6B6B6F — rgb(107, 107, 111)
Deuteranopia (Green-blind)
#6E716D — rgb(110, 113, 109)
Tritanopia (Blue-blind)
#7B6866 — rgb(123, 104, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 20%, 41%);
text
color: hsl(309, 20%, 41%);
border
border: 2px solid hsl(309, 20%, 41%);
gradient light
background: linear-gradient(to right, hsl(309, 20%, 61%), hsl(309, 20%, 41%));
gradient dark
background: linear-gradient(to right, hsl(309, 20%, 41%), hsl(309, 20%, 21%))
hex
background-color: #7D5477;
tailwind
bg-[hsl(309,20%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 20%, 41%, 0.4);
css variable
--color-primary: hsl(309, 20%, 41%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 20%, 41%)?
HEX: #7D5477 | RGB: rgb(125, 84, 119) | CMYK: 0%, 33%, 5%, 51% | HSV: 309°, 33%, 49%. Copy any format from the conversion table above.
What colors go well with #7D5477?
The complementary color is HSL(129, 20%, 41%). For a triadic harmony, use hues 309°, 69°, and 189°. For analogous combinations, try hues 279° and 339°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(309, 20%, 41%) in CSS?
As HSL: color: hsl(309, 20%, 41%); — As HEX: color: #7D5477; — As RGB: color: rgb(125, 84, 119); — Tailwind CSS: bg-[hsl(309,20%,41%)] — CSS variable: --color-primary: hsl(309, 20%, 41%);