HSL(288, 94%, 19%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,94%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 94%, 19%) | color: hsl(288, 94%, 19%) | |
| HEX | #4C035E | color: #4C035E | |
| RGB | rgb(76, 3, 94) | color: rgb(76, 3, 94) | |
| CMYK | cmyk(19%, 97%, 0%, 63%) | — | |
| HSV | hsv(288, 97%, 37%) | — | |
| HWB | hwb(288 1% 63%) | color: hwb(288 1% 63%) | |
| OKLCH | oklch(0.3086 0.146 317.77) | color: oklch(0.3086 0.146 317.77) | |
| Lab | lab(17.51 43.33 -34.77) | color: lab(17.51 43.33 -34.77) | |
| LCH | lch(17.51 55.56 321.25) | color: lch(17.51 55.56 321.25) |
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)
#2C2C48 — rgb(44, 44, 72)
Deuteranopia (Green-blind)
#313643 — rgb(49, 54, 67)
Tritanopia (Blue-blind)
#483733 — rgb(72, 55, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 94%, 19%);
text
color: hsl(288, 94%, 19%);
border
border: 2px solid hsl(288, 94%, 19%);
gradient light
background: linear-gradient(to right, hsl(288, 94%, 39%), hsl(288, 94%, 19%));
gradient dark
background: linear-gradient(to right, hsl(288, 94%, 19%), hsl(288, 94%, 0%))
hex
background-color: #4C035E;
tailwind
bg-[hsl(288,94%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 94%, 19%, 0.4);
css variable
--color-primary: hsl(288, 94%, 19%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 94%, 19%)?
HEX: #4C035E | RGB: rgb(76, 3, 94) | CMYK: 19%, 97%, 0%, 63% | HSV: 288°, 97%, 37%. Copy any format from the conversion table above.
What colors go well with #4C035E?
The complementary color is HSL(108, 94%, 19%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 94%, 19%) in CSS?
As HSL: color: hsl(288, 94%, 19%); — As HEX: color: #4C035E; — As RGB: color: rgb(76, 3, 94); — Tailwind CSS: bg-[hsl(288,94%,19%)] — CSS variable: --color-primary: hsl(288, 94%, 19%);