HSL(303, 80%, 33%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,80%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 80%, 33%) | color: hsl(303, 80%, 33%) | |
| HEX | #971191 | color: #971191 | |
| RGB | rgb(151, 17, 145) | color: rgb(151, 17, 145) | |
| CMYK | cmyk(0%, 89%, 4%, 41%) | — | |
| HSV | hsv(303, 89%, 59%) | — | |
| HWB | hwb(303 6% 41%) | color: hwb(303 6% 41%) | |
| OKLCH | oklch(0.4763 0.2065 330.44) | color: oklch(0.4763 0.2065 330.44) | |
| Lab | lab(36.03 63.24 -36.82) | color: lab(36.03 63.24 -36.82) | |
| LCH | lch(36.03 73.18 329.79) | color: lch(36.03 73.18 329.79) |
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)
#5D5C72 — rgb(93, 92, 114)
Deuteranopia (Green-blind)
#656F6B — rgb(101, 111, 107)
Tritanopia (Blue-blind)
#905A54 — rgb(144, 90, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 80%, 33%);
text
color: hsl(303, 80%, 33%);
border
border: 2px solid hsl(303, 80%, 33%);
gradient light
background: linear-gradient(to right, hsl(303, 80%, 53%), hsl(303, 80%, 33%));
gradient dark
background: linear-gradient(to right, hsl(303, 80%, 33%), hsl(303, 80%, 13%))
hex
background-color: #971191;
tailwind
bg-[hsl(303,80%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 80%, 33%, 0.4);
css variable
--color-primary: hsl(303, 80%, 33%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 80%, 33%)?
HEX: #971191 | RGB: rgb(151, 17, 145) | CMYK: 0%, 89%, 4%, 41% | HSV: 303°, 89%, 59%. Copy any format from the conversion table above.
What colors go well with #971191?
The complementary color is HSL(123, 80%, 33%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 80%, 33%) in CSS?
As HSL: color: hsl(303, 80%, 33%); — As HEX: color: #971191; — As RGB: color: rgb(151, 17, 145); — Tailwind CSS: bg-[hsl(303,80%,33%)] — CSS variable: --color-primary: hsl(303, 80%, 33%);