HSL(303, 94%, 19%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,94%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 94%, 19%) | color: hsl(303, 94%, 19%) | |
| HEX | #5E0359 | color: #5E0359 | |
| RGB | rgb(94, 3, 89) | color: rgb(94, 3, 89) | |
| CMYK | cmyk(0%, 97%, 5%, 63%) | — | |
| HSV | hsv(303, 97%, 37%) | — | |
| HWB | hwb(303 1% 63%) | color: hwb(303 1% 63%) | |
| OKLCH | oklch(0.3365 0.1493 331.07) | color: oklch(0.3365 0.1493 331.07) | |
| Lab | lab(20.7 45.78 -26.11) | color: lab(20.7 45.78 -26.11) | |
| LCH | lch(20.7 52.7 330.3) | color: lch(20.7 52.7 330.3) |
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)
#373644 — rgb(55, 54, 68)
Deuteranopia (Green-blind)
#3C433F — rgb(60, 67, 63)
Tritanopia (Blue-blind)
#593430 — rgb(89, 52, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 94%, 19%);
text
color: hsl(303, 94%, 19%);
border
border: 2px solid hsl(303, 94%, 19%);
gradient light
background: linear-gradient(to right, hsl(303, 94%, 39%), hsl(303, 94%, 19%));
gradient dark
background: linear-gradient(to right, hsl(303, 94%, 19%), hsl(303, 94%, 0%))
hex
background-color: #5E0359;
tailwind
bg-[hsl(303,94%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 94%, 19%, 0.4);
css variable
--color-primary: hsl(303, 94%, 19%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 94%, 19%)?
HEX: #5E0359 | RGB: rgb(94, 3, 89) | CMYK: 0%, 97%, 5%, 63% | HSV: 303°, 97%, 37%. Copy any format from the conversion table above.
What colors go well with #5E0359?
The complementary color is HSL(123, 94%, 19%). 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, 94%, 19%) in CSS?
As HSL: color: hsl(303, 94%, 19%); — As HEX: color: #5E0359; — As RGB: color: rgb(94, 3, 89); — Tailwind CSS: bg-[hsl(303,94%,19%)] — CSS variable: --color-primary: hsl(303, 94%, 19%);