HSL(308, 77%, 34%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,77%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 77%, 34%) | color: hsl(308, 77%, 34%) | |
| HEX | #991488 | color: #991488 | |
| RGB | rgb(153, 20, 136) | color: rgb(153, 20, 136) | |
| CMYK | cmyk(0%, 87%, 11%, 40%) | — | |
| HSV | hsv(308, 87%, 60%) | — | |
| HWB | hwb(308 8% 40%) | color: hwb(308 8% 40%) | |
| OKLCH | oklch(0.4757 0.1994 334.61) | color: oklch(0.4757 0.1994 334.61) | |
| Lab | lab(36.08 61.73 -31.17) | color: lab(36.08 61.73 -31.17) | |
| LCH | lch(36.08 69.15 333.21) | color: lch(36.08 69.15 333.21) |
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)
#5F5E6C — rgb(95, 94, 108)
Deuteranopia (Green-blind)
#677165 — rgb(103, 113, 101)
Tritanopia (Blue-blind)
#925651 — rgb(146, 86, 81)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 77%, 34%);
text
color: hsl(308, 77%, 34%);
border
border: 2px solid hsl(308, 77%, 34%);
gradient light
background: linear-gradient(to right, hsl(308, 77%, 54%), hsl(308, 77%, 34%));
gradient dark
background: linear-gradient(to right, hsl(308, 77%, 34%), hsl(308, 77%, 14%))
hex
background-color: #991488;
tailwind
bg-[hsl(308,77%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 77%, 34%, 0.4);
css variable
--color-primary: hsl(308, 77%, 34%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 77%, 34%)?
HEX: #991488 | RGB: rgb(153, 20, 136) | CMYK: 0%, 87%, 11%, 40% | HSV: 308°, 87%, 60%. Copy any format from the conversion table above.
What colors go well with #991488?
The complementary color is HSL(128, 77%, 34%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 77%, 34%) in CSS?
As HSL: color: hsl(308, 77%, 34%); — As HEX: color: #991488; — As RGB: color: rgb(153, 20, 136); — Tailwind CSS: bg-[hsl(308,77%,34%)] — CSS variable: --color-primary: hsl(308, 77%, 34%);