HSL(293, 68%, 17%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,68%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 68%, 17%) | color: hsl(293, 68%, 17%) | |
| HEX | #420E49 | color: #420E49 | |
| RGB | rgb(66, 14, 73) | color: rgb(66, 14, 73) | |
| CMYK | cmyk(10%, 81%, 0%, 71%) | — | |
| HSV | hsv(293, 81%, 29%) | — | |
| HWB | hwb(293 6% 71%) | color: hwb(293 6% 71%) | |
| OKLCH | oklch(0.2839 0.1117 322.68) | color: oklch(0.2839 0.1117 322.68) | |
| Lab | lab(15.24 33.35 -24.26) | color: lab(15.24 33.35 -24.26) | |
| LCH | lch(15.24 41.24 323.97) | color: lch(15.24 41.24 323.97) |
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)
#2B2B3B — rgb(43, 43, 59)
Deuteranopia (Green-blind)
#2F3237 — rgb(47, 50, 55)
Tritanopia (Blue-blind)
#3F2F2D — rgb(63, 47, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 68%, 17%);
text
color: hsl(293, 68%, 17%);
border
border: 2px solid hsl(293, 68%, 17%);
gradient light
background: linear-gradient(to right, hsl(293, 68%, 37%), hsl(293, 68%, 17%));
gradient dark
background: linear-gradient(to right, hsl(293, 68%, 17%), hsl(293, 68%, 0%))
hex
background-color: #420E49;
tailwind
bg-[hsl(293,68%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 68%, 17%, 0.4);
css variable
--color-primary: hsl(293, 68%, 17%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 68%, 17%)?
HEX: #420E49 | RGB: rgb(66, 14, 73) | CMYK: 10%, 81%, 0%, 71% | HSV: 293°, 81%, 29%. Copy any format from the conversion table above.
What colors go well with #420E49?
The complementary color is HSL(113, 68%, 17%). 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, 68%, 17%) in CSS?
As HSL: color: hsl(293, 68%, 17%); — As HEX: color: #420E49; — As RGB: color: rgb(66, 14, 73); — Tailwind CSS: bg-[hsl(293,68%,17%)] — CSS variable: --color-primary: hsl(293, 68%, 17%);