HSL(313, 80%, 39%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,80%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 80%, 39%) | color: hsl(313, 80%, 39%) | |
| HEX | #B31491 | color: #B31491 | |
| RGB | rgb(179, 20, 145) | color: rgb(179, 20, 145) | |
| CMYK | cmyk(0%, 89%, 19%, 30%) | — | |
| HSV | hsv(313, 89%, 70%) | — | |
| HWB | hwb(313 8% 30%) | color: hwb(313 8% 30%) | |
| OKLCH | oklch(0.5242 0.2179 339.64) | color: oklch(0.5242 0.2179 339.64) | |
| Lab | lab(41.42 68.3 -27.97) | color: lab(41.42 68.3 -27.97) | |
| LCH | lch(41.42 73.81 337.73) | color: lch(41.42 73.81 337.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)
#6E6D73 — rgb(110, 109, 115)
Deuteranopia (Green-blind)
#77836C — rgb(119, 131, 108)
Tritanopia (Blue-blind)
#AB5B56 — rgb(171, 91, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 80%, 39%);
text
color: hsl(313, 80%, 39%);
border
border: 2px solid hsl(313, 80%, 39%);
gradient light
background: linear-gradient(to right, hsl(313, 80%, 59%), hsl(313, 80%, 39%));
gradient dark
background: linear-gradient(to right, hsl(313, 80%, 39%), hsl(313, 80%, 19%))
hex
background-color: #B31491;
tailwind
bg-[hsl(313,80%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 80%, 39%, 0.4);
css variable
--color-primary: hsl(313, 80%, 39%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 80%, 39%)?
HEX: #B31491 | RGB: rgb(179, 20, 145) | CMYK: 0%, 89%, 19%, 30% | HSV: 313°, 89%, 70%. Copy any format from the conversion table above.
What colors go well with #B31491?
The complementary color is HSL(133, 80%, 39%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 80%, 39%) in CSS?
As HSL: color: hsl(313, 80%, 39%); — As HEX: color: #B31491; — As RGB: color: rgb(179, 20, 145); — Tailwind CSS: bg-[hsl(313,80%,39%)] — CSS variable: --color-primary: hsl(313, 80%, 39%);