HSL(309, 95%, 33%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(309,95%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(309, 95%, 33%) | color: hsl(309, 95%, 33%) | |
| HEX | #A4048C | color: #A4048C | |
| RGB | rgb(164, 4, 140) | color: rgb(164, 4, 140) | |
| CMYK | cmyk(0%, 98%, 15%, 36%) | — | |
| HSV | hsv(309, 98%, 64%) | — | |
| HWB | hwb(309 1% 36%) | color: hwb(309 1% 36%) | |
| OKLCH | oklch(0.4911 0.2146 336.68) | color: oklch(0.4911 0.2146 336.68) | |
| Lab | lab(37.62 66.72 -31.08) | color: lab(37.62 66.72 -31.08) | |
| LCH | lch(37.62 73.6 335.02) | color: lch(37.62 73.6 335.02) |
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)
#5F5D6B — rgb(95, 93, 107)
Deuteranopia (Green-blind)
#687463 — rgb(104, 116, 99)
Tritanopia (Blue-blind)
#9C514B — rgb(156, 81, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(309, 95%, 33%);
text
color: hsl(309, 95%, 33%);
border
border: 2px solid hsl(309, 95%, 33%);
gradient light
background: linear-gradient(to right, hsl(309, 95%, 53%), hsl(309, 95%, 33%));
gradient dark
background: linear-gradient(to right, hsl(309, 95%, 33%), hsl(309, 95%, 13%))
hex
background-color: #A4048C;
tailwind
bg-[hsl(309,95%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(309, 95%, 33%, 0.4);
css variable
--color-primary: hsl(309, 95%, 33%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(309, 95%, 33%)?
HEX: #A4048C | RGB: rgb(164, 4, 140) | CMYK: 0%, 98%, 15%, 36% | HSV: 309°, 98%, 64%. Copy any format from the conversion table above.
What colors go well with #A4048C?
The complementary color is HSL(129, 95%, 33%). 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, 95%, 33%) in CSS?
As HSL: color: hsl(309, 95%, 33%); — As HEX: color: #A4048C; — As RGB: color: rgb(164, 4, 140); — Tailwind CSS: bg-[hsl(309,95%,33%)] — CSS variable: --color-primary: hsl(309, 95%, 33%);