HSL(307, 42%, 43%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,42%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 42%, 43%) | color: hsl(307, 42%, 43%) | |
| HEX | #9C4091 | color: #9C4091 | |
| RGB | rgb(156, 64, 145) | color: rgb(156, 64, 145) | |
| CMYK | cmyk(0%, 59%, 7%, 39%) | — | |
| HSV | hsv(307, 59%, 61%) | — | |
| HWB | hwb(307 25% 39%) | color: hwb(307 25% 39%) | |
| OKLCH | oklch(0.524 0.1576 332.45) | color: oklch(0.524 0.1576 332.45) | |
| Lab | lab(42.43 48.75 -26.68) | color: lab(42.43 48.75 -26.68) | |
| LCH | lch(42.43 55.57 331.31) | color: lch(42.43 55.57 331.31) |
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)
#74737D — rgb(116, 115, 125)
Deuteranopia (Green-blind)
#7A8079 — rgb(122, 128, 121)
Tritanopia (Blue-blind)
#976E6B — rgb(151, 110, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 42%, 43%);
text
color: hsl(307, 42%, 43%);
border
border: 2px solid hsl(307, 42%, 43%);
gradient light
background: linear-gradient(to right, hsl(307, 42%, 63%), hsl(307, 42%, 43%));
gradient dark
background: linear-gradient(to right, hsl(307, 42%, 43%), hsl(307, 42%, 23%))
hex
background-color: #9C4091;
tailwind
bg-[hsl(307,42%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 42%, 43%, 0.4);
css variable
--color-primary: hsl(307, 42%, 43%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 42%, 43%)?
HEX: #9C4091 | RGB: rgb(156, 64, 145) | CMYK: 0%, 59%, 7%, 39% | HSV: 307°, 59%, 61%. Copy any format from the conversion table above.
What colors go well with #9C4091?
The complementary color is HSL(127, 42%, 43%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 42%, 43%) in CSS?
As HSL: color: hsl(307, 42%, 43%); — As HEX: color: #9C4091; — As RGB: color: rgb(156, 64, 145); — Tailwind CSS: bg-[hsl(307,42%,43%)] — CSS variable: --color-primary: hsl(307, 42%, 43%);