HSL(297, 43%, 41%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,43%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 43%, 41%) | color: hsl(297, 43%, 41%) | |
| HEX | #913C96 | color: #913C96 | |
| RGB | rgb(145, 60, 150) | color: rgb(145, 60, 150) | |
| CMYK | cmyk(3%, 60%, 0%, 41%) | — | |
| HSV | hsv(297, 60%, 59%) | — | |
| HWB | hwb(297 24% 41%) | color: hwb(297 24% 41%) | |
| OKLCH | oklch(0.5062 0.1613 325.41) | color: oklch(0.5062 0.1613 325.41) | |
| Lab | lab(40.34 48.48 -33.11) | color: lab(40.34 48.48 -33.11) | |
| LCH | lch(40.34 58.71 325.67) | color: lch(40.34 58.71 325.67) |
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)
#6C6B80 — rgb(108, 107, 128)
Deuteranopia (Green-blind)
#71787B — rgb(113, 120, 123)
Tritanopia (Blue-blind)
#8D6F6B — rgb(141, 111, 107)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 43%, 41%);
text
color: hsl(297, 43%, 41%);
border
border: 2px solid hsl(297, 43%, 41%);
gradient light
background: linear-gradient(to right, hsl(297, 43%, 61%), hsl(297, 43%, 41%));
gradient dark
background: linear-gradient(to right, hsl(297, 43%, 41%), hsl(297, 43%, 21%))
hex
background-color: #913C96;
tailwind
bg-[hsl(297,43%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 43%, 41%, 0.4);
css variable
--color-primary: hsl(297, 43%, 41%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 43%, 41%)?
HEX: #913C96 | RGB: rgb(145, 60, 150) | CMYK: 3%, 60%, 0%, 41% | HSV: 297°, 60%, 59%. Copy any format from the conversion table above.
What colors go well with #913C96?
The complementary color is HSL(117, 43%, 41%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 43%, 41%) in CSS?
As HSL: color: hsl(297, 43%, 41%); — As HEX: color: #913C96; — As RGB: color: rgb(145, 60, 150); — Tailwind CSS: bg-[hsl(297,43%,41%)] — CSS variable: --color-primary: hsl(297, 43%, 41%);