HSL(293, 15%, 36%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(293,15%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 15%, 36%) | color: hsl(293, 15%, 36%) | |
| HEX | #664E6A | color: #664E6A | |
| RGB | rgb(102, 78, 106) | color: rgb(102, 78, 106) | |
| CMYK | cmyk(4%, 26%, 0%, 58%) | — | |
| HSV | hsv(291, 26%, 42%) | — | |
| HWB | hwb(291 31% 58%) | color: hwb(291 31% 58%) | |
| OKLCH | oklch(0.4594 0.0536 321.56) | color: oklch(0.4594 0.0536 321.56) | |
| Lab | lab(36.58 15.56 -12.31) | color: lab(36.58 15.56 -12.31) | |
| LCH | lch(36.58 19.84 321.65) | color: lch(36.58 19.84 321.65) |
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)
#5C5B63 — rgb(92, 91, 99)
Deuteranopia (Green-blind)
#5D5F62 — rgb(93, 95, 98)
Tritanopia (Blue-blind)
#655E5D — rgb(101, 94, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 15%, 36%);
text
color: hsl(293, 15%, 36%);
border
border: 2px solid hsl(293, 15%, 36%);
gradient light
background: linear-gradient(to right, hsl(293, 15%, 56%), hsl(293, 15%, 36%));
gradient dark
background: linear-gradient(to right, hsl(293, 15%, 36%), hsl(293, 15%, 16%))
hex
background-color: #664E6A;
tailwind
bg-[hsl(293,15%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 15%, 36%, 0.4);
css variable
--color-primary: hsl(293, 15%, 36%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 15%, 36%)?
HEX: #664E6A | RGB: rgb(102, 78, 106) | CMYK: 4%, 26%, 0%, 58% | HSV: 291°, 26%, 42%. Copy any format from the conversion table above.
What colors go well with #664E6A?
The complementary color is HSL(113, 15%, 36%). 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, 15%, 36%) in CSS?
As HSL: color: hsl(293, 15%, 36%); — As HEX: color: #664E6A; — As RGB: color: rgb(102, 78, 106); — Tailwind CSS: bg-[hsl(293,15%,36%)] — CSS variable: --color-primary: hsl(293, 15%, 36%);