HSL(301, 83%, 29%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,83%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 83%, 29%) | color: hsl(301, 83%, 29%) | |
| HEX | #870D85 | color: #870D85 | |
| RGB | rgb(135, 13, 133) | color: rgb(135, 13, 133) | |
| CMYK | cmyk(0%, 90%, 1%, 47%) | — | |
| HSV | hsv(301, 90%, 53%) | — | |
| HWB | hwb(301 5% 47%) | color: hwb(301 5% 47%) | |
| OKLCH | oklch(0.4407 0.1934 329.06) | color: oklch(0.4407 0.1934 329.06) | |
| Lab | lab(32.11 58.99 -35.83) | color: lab(32.11 58.99 -35.83) | |
| LCH | lch(32.11 69.02 328.73) | color: lch(32.11 69.02 328.73) |
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)
#525168 — rgb(82, 81, 104)
Deuteranopia (Green-blind)
#596261 — rgb(89, 98, 97)
Tritanopia (Blue-blind)
#81514C — rgb(129, 81, 76)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 83%, 29%);
text
color: hsl(301, 83%, 29%);
border
border: 2px solid hsl(301, 83%, 29%);
gradient light
background: linear-gradient(to right, hsl(301, 83%, 49%), hsl(301, 83%, 29%));
gradient dark
background: linear-gradient(to right, hsl(301, 83%, 29%), hsl(301, 83%, 9%))
hex
background-color: #870D85;
tailwind
bg-[hsl(301,83%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 83%, 29%, 0.4);
css variable
--color-primary: hsl(301, 83%, 29%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 83%, 29%)?
HEX: #870D85 | RGB: rgb(135, 13, 133) | CMYK: 0%, 90%, 1%, 47% | HSV: 301°, 90%, 53%. Copy any format from the conversion table above.
What colors go well with #870D85?
The complementary color is HSL(121, 83%, 29%). 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, 83%, 29%) in CSS?
As HSL: color: hsl(301, 83%, 29%); — As HEX: color: #870D85; — As RGB: color: rgb(135, 13, 133); — Tailwind CSS: bg-[hsl(301,83%,29%)] — CSS variable: --color-primary: hsl(301, 83%, 29%);