HSL(293, 20%, 41%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,20%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 20%, 41%) | color: hsl(293, 20%, 41%) | |
| HEX | #79547D | color: #79547D | |
| RGB | rgb(121, 84, 125) | color: rgb(121, 84, 125) | |
| CMYK | cmyk(3%, 33%, 0%, 51%) | — | |
| HSV | hsv(294, 33%, 49%) | — | |
| HWB | hwb(294 33% 51%) | color: hwb(294 33% 51%) | |
| OKLCH | oklch(0.5008 0.0776 323.28) | color: oklch(0.5008 0.0776 323.28) | |
| Lab | lab(41.04 22.89 -17.06) | color: lab(41.04 22.89 -17.06) | |
| LCH | lch(41.04 28.55 323.3) | color: lch(41.04 28.55 323.3) |
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)
#696973 — rgb(105, 105, 115)
Deuteranopia (Green-blind)
#6B6E71 — rgb(107, 110, 113)
Tritanopia (Blue-blind)
#776B6A — rgb(119, 107, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 20%, 41%);
text
color: hsl(293, 20%, 41%);
border
border: 2px solid hsl(293, 20%, 41%);
gradient light
background: linear-gradient(to right, hsl(293, 20%, 61%), hsl(293, 20%, 41%));
gradient dark
background: linear-gradient(to right, hsl(293, 20%, 41%), hsl(293, 20%, 21%))
hex
background-color: #79547D;
tailwind
bg-[hsl(293,20%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 20%, 41%, 0.4);
css variable
--color-primary: hsl(293, 20%, 41%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 20%, 41%)?
HEX: #79547D | RGB: rgb(121, 84, 125) | CMYK: 3%, 33%, 0%, 51% | HSV: 294°, 33%, 49%. Copy any format from the conversion table above.
What colors go well with #79547D?
The complementary color is HSL(113, 20%, 41%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 20%, 41%) in CSS?
As HSL: color: hsl(293, 20%, 41%); — As HEX: color: #79547D; — As RGB: color: rgb(121, 84, 125); — Tailwind CSS: bg-[hsl(293,20%,41%)] — CSS variable: --color-primary: hsl(293, 20%, 41%);