HSL(293, 76%, 23%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,76%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 76%, 23%) | color: hsl(293, 76%, 23%) | |
| HEX | #5D0E67 | color: #5D0E67 | |
| RGB | rgb(93, 14, 103) | color: rgb(93, 14, 103) | |
| CMYK | cmyk(10%, 86%, 0%, 60%) | — | |
| HSV | hsv(293, 86%, 40%) | — | |
| HWB | hwb(293 6% 60%) | color: hwb(293 6% 60%) | |
| OKLCH | oklch(0.351 0.1514 322.79) | color: oklch(0.351 0.1514 322.79) | |
| Lab | lab(22.38 45.35 -32.7) | color: lab(22.38 45.35 -32.7) | |
| LCH | lch(22.38 55.91 324.21) | color: lch(22.38 55.91 324.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)
#3B3A51 — rgb(59, 58, 81)
Deuteranopia (Green-blind)
#3F454C — rgb(63, 69, 76)
Tritanopia (Blue-blind)
#59403D — rgb(89, 64, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 76%, 23%);
text
color: hsl(293, 76%, 23%);
border
border: 2px solid hsl(293, 76%, 23%);
gradient light
background: linear-gradient(to right, hsl(293, 76%, 43%), hsl(293, 76%, 23%));
gradient dark
background: linear-gradient(to right, hsl(293, 76%, 23%), hsl(293, 76%, 3%))
hex
background-color: #5D0E67;
tailwind
bg-[hsl(293,76%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 76%, 23%, 0.4);
css variable
--color-primary: hsl(293, 76%, 23%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 76%, 23%)?
HEX: #5D0E67 | RGB: rgb(93, 14, 103) | CMYK: 10%, 86%, 0%, 60% | HSV: 293°, 86%, 40%. Copy any format from the conversion table above.
What colors go well with #5D0E67?
The complementary color is HSL(113, 76%, 23%). 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, 76%, 23%) in CSS?
As HSL: color: hsl(293, 76%, 23%); — As HEX: color: #5D0E67; — As RGB: color: rgb(93, 14, 103); — Tailwind CSS: bg-[hsl(293,76%,23%)] — CSS variable: --color-primary: hsl(293, 76%, 23%);