HSL(288, 50%, 36%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,50%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 50%, 36%) | color: hsl(288, 50%, 36%) | |
| HEX | #772E8A | color: #772E8A | |
| RGB | rgb(119, 46, 138) | color: rgb(119, 46, 138) | |
| CMYK | cmyk(14%, 67%, 0%, 46%) | — | |
| HSV | hsv(288, 67%, 54%) | — | |
| HWB | hwb(288 18% 46%) | color: hwb(288 18% 46%) | |
| OKLCH | oklch(0.4455 0.1572 318.71) | color: oklch(0.4455 0.1572 318.71) | |
| Lab | lab(33.37 45.92 -37.07) | color: lab(33.37 45.92 -37.07) | |
| LCH | lch(33.37 59.02 321.09) | color: lch(33.37 59.02 321.09) |
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)
#575774 — rgb(87, 87, 116)
Deuteranopia (Green-blind)
#5C616E — rgb(92, 97, 110)
Tritanopia (Blue-blind)
#73625E — rgb(115, 98, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 50%, 36%);
text
color: hsl(288, 50%, 36%);
border
border: 2px solid hsl(288, 50%, 36%);
gradient light
background: linear-gradient(to right, hsl(288, 50%, 56%), hsl(288, 50%, 36%));
gradient dark
background: linear-gradient(to right, hsl(288, 50%, 36%), hsl(288, 50%, 16%))
hex
background-color: #772E8A;
tailwind
bg-[hsl(288,50%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 50%, 36%, 0.4);
css variable
--color-primary: hsl(288, 50%, 36%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 50%, 36%)?
HEX: #772E8A | RGB: rgb(119, 46, 138) | CMYK: 14%, 67%, 0%, 46% | HSV: 288°, 67%, 54%. Copy any format from the conversion table above.
What colors go well with #772E8A?
The complementary color is HSL(108, 50%, 36%). 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, 50%, 36%) in CSS?
As HSL: color: hsl(288, 50%, 36%); — As HEX: color: #772E8A; — As RGB: color: rgb(119, 46, 138); — Tailwind CSS: bg-[hsl(288,50%,36%)] — CSS variable: --color-primary: hsl(288, 50%, 36%);