HSL(308, 67%, 24%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,67%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 67%, 24%) | color: hsl(308, 67%, 24%) | |
| HEX | #66145B | color: #66145B | |
| RGB | rgb(102, 20, 91) | color: rgb(102, 20, 91) | |
| CMYK | cmyk(0%, 80%, 11%, 60%) | — | |
| HSV | hsv(308, 80%, 40%) | — | |
| HWB | hwb(308 8% 60%) | color: hwb(308 8% 60%) | |
| OKLCH | oklch(0.3629 0.1402 334.27) | color: oklch(0.3629 0.1402 334.27) | |
| Lab | lab(23.94 43.43 -22.22) | color: lab(23.94 43.43 -22.22) | |
| LCH | lch(23.94 48.78 332.9) | color: lch(23.94 48.78 332.9) |
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)
#42424A — rgb(66, 66, 74)
Deuteranopia (Green-blind)
#474D46 — rgb(71, 77, 70)
Tritanopia (Blue-blind)
#623C39 — rgb(98, 60, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 67%, 24%);
text
color: hsl(308, 67%, 24%);
border
border: 2px solid hsl(308, 67%, 24%);
gradient light
background: linear-gradient(to right, hsl(308, 67%, 44%), hsl(308, 67%, 24%));
gradient dark
background: linear-gradient(to right, hsl(308, 67%, 24%), hsl(308, 67%, 4%))
hex
background-color: #66145B;
tailwind
bg-[hsl(308,67%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 67%, 24%, 0.4);
css variable
--color-primary: hsl(308, 67%, 24%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 67%, 24%)?
HEX: #66145B | RGB: rgb(102, 20, 91) | CMYK: 0%, 80%, 11%, 60% | HSV: 308°, 80%, 40%. Copy any format from the conversion table above.
What colors go well with #66145B?
The complementary color is HSL(128, 67%, 24%). 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, 67%, 24%) in CSS?
As HSL: color: hsl(308, 67%, 24%); — As HEX: color: #66145B; — As RGB: color: rgb(102, 20, 91); — Tailwind CSS: bg-[hsl(308,67%,24%)] — CSS variable: --color-primary: hsl(308, 67%, 24%);