HSL(301, 59%, 41%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,59%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 59%, 41%) | color: hsl(301, 59%, 41%) | |
| HEX | #A62BA4 | color: #A62BA4 | |
| RGB | rgb(166, 43, 164) | color: rgb(166, 43, 164) | |
| CMYK | cmyk(0%, 74%, 1%, 35%) | — | |
| HSV | hsv(301, 74%, 65%) | — | |
| HWB | hwb(301 17% 35%) | color: hwb(301 17% 35%) | |
| OKLCH | oklch(0.5274 0.206 328.73) | color: oklch(0.5274 0.206 328.73) | |
| Lab | lab(42.03 62.77 -38.64) | color: lab(42.03 62.77 -38.64) | |
| LCH | lch(42.03 73.71 328.38) | color: lch(42.03 73.71 328.38) |
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)
#717087 — rgb(113, 112, 135)
Deuteranopia (Green-blind)
#788180 — rgb(120, 129, 128)
Tritanopia (Blue-blind)
#A0706B — rgb(160, 112, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 59%, 41%);
text
color: hsl(301, 59%, 41%);
border
border: 2px solid hsl(301, 59%, 41%);
gradient light
background: linear-gradient(to right, hsl(301, 59%, 61%), hsl(301, 59%, 41%));
gradient dark
background: linear-gradient(to right, hsl(301, 59%, 41%), hsl(301, 59%, 21%))
hex
background-color: #A62BA4;
tailwind
bg-[hsl(301,59%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 59%, 41%, 0.4);
css variable
--color-primary: hsl(301, 59%, 41%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 59%, 41%)?
HEX: #A62BA4 | RGB: rgb(166, 43, 164) | CMYK: 0%, 74%, 1%, 35% | HSV: 301°, 74%, 65%. Copy any format from the conversion table above.
What colors go well with #A62BA4?
The complementary color is HSL(121, 59%, 41%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 59%, 41%) in CSS?
As HSL: color: hsl(301, 59%, 41%); — As HEX: color: #A62BA4; — As RGB: color: rgb(166, 43, 164); — Tailwind CSS: bg-[hsl(301,59%,41%)] — CSS variable: --color-primary: hsl(301, 59%, 41%);