HSL(304, 45%, 44%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,45%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 45%, 44%) | color: hsl(304, 45%, 44%) | |
| HEX | #A33E9C | color: #A33E9C | |
| RGB | rgb(163, 62, 156) | color: rgb(163, 62, 156) | |
| CMYK | cmyk(0%, 62%, 4%, 36%) | — | |
| HSV | hsv(304, 62%, 64%) | — | |
| HWB | hwb(304 24% 36%) | color: hwb(304 24% 36%) | |
| OKLCH | oklch(0.5372 0.1742 330.51) | color: oklch(0.5372 0.1742 330.51) | |
| Lab | lab(43.7 53.46 -31.24) | color: lab(43.7 53.46 -31.24) | |
| LCH | lch(43.7 61.92 329.7) | color: lch(43.7 61.92 329.7) |
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)
#777685 — rgb(119, 118, 133)
Deuteranopia (Green-blind)
#7D8580 — rgb(125, 133, 128)
Tritanopia (Blue-blind)
#9E736F — rgb(158, 115, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 45%, 44%);
text
color: hsl(304, 45%, 44%);
border
border: 2px solid hsl(304, 45%, 44%);
gradient light
background: linear-gradient(to right, hsl(304, 45%, 64%), hsl(304, 45%, 44%));
gradient dark
background: linear-gradient(to right, hsl(304, 45%, 44%), hsl(304, 45%, 24%))
hex
background-color: #A33E9C;
tailwind
bg-[hsl(304,45%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 45%, 44%, 0.4);
css variable
--color-primary: hsl(304, 45%, 44%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 45%, 44%)?
HEX: #A33E9C | RGB: rgb(163, 62, 156) | CMYK: 0%, 62%, 4%, 36% | HSV: 304°, 62%, 64%. Copy any format from the conversion table above.
What colors go well with #A33E9C?
The complementary color is HSL(124, 45%, 44%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 45%, 44%) in CSS?
As HSL: color: hsl(304, 45%, 44%); — As HEX: color: #A33E9C; — As RGB: color: rgb(163, 62, 156); — Tailwind CSS: bg-[hsl(304,45%,44%)] — CSS variable: --color-primary: hsl(304, 45%, 44%);