HSL(309, 52%, 24%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,52%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 52%, 24%) | color: hsl(309, 52%, 24%) | |
| HEX | #5D1D53 | color: #5D1D53 | |
| RGB | rgb(93, 29, 83) | color: rgb(93, 29, 83) | |
| CMYK | cmyk(0%, 69%, 11%, 64%) | — | |
| HSV | hsv(309, 69%, 36%) | — | |
| HWB | hwb(309 11% 64%) | color: hwb(309 11% 64%) | |
| OKLCH | oklch(0.3523 0.116 334.48) | color: oklch(0.3523 0.116 334.48) | |
| Lab | lab(23.1 36.07 -18.32) | color: lab(23.1 36.07 -18.32) | |
| LCH | lch(23.1 40.46 333.07) | color: lch(23.1 40.46 333.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)
#414146 — rgb(65, 65, 70)
Deuteranopia (Green-blind)
#454A43 — rgb(69, 74, 67)
Tritanopia (Blue-blind)
#5A3C39 — rgb(90, 60, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 52%, 24%);
text
color: hsl(309, 52%, 24%);
border
border: 2px solid hsl(309, 52%, 24%);
gradient light
background: linear-gradient(to right, hsl(309, 52%, 44%), hsl(309, 52%, 24%));
gradient dark
background: linear-gradient(to right, hsl(309, 52%, 24%), hsl(309, 52%, 4%))
hex
background-color: #5D1D53;
tailwind
bg-[hsl(309,52%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 52%, 24%, 0.4);
css variable
--color-primary: hsl(309, 52%, 24%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 52%, 24%)?
HEX: #5D1D53 | RGB: rgb(93, 29, 83) | CMYK: 0%, 69%, 11%, 64% | HSV: 309°, 69%, 36%. Copy any format from the conversion table above.
What colors go well with #5D1D53?
The complementary color is HSL(129, 52%, 24%). 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, 52%, 24%) in CSS?
As HSL: color: hsl(309, 52%, 24%); — As HEX: color: #5D1D53; — As RGB: color: rgb(93, 29, 83); — Tailwind CSS: bg-[hsl(309,52%,24%)] — CSS variable: --color-primary: hsl(309, 52%, 24%);