HSL(296, 16%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(296,16%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 16%, 35%) | color: hsl(296, 16%, 35%) | |
| HEX | #664B68 | color: #664B68 | |
| RGB | rgb(102, 75, 104) | color: rgb(102, 75, 104) | |
| CMYK | cmyk(2%, 28%, 0%, 59%) | — | |
| HSV | hsv(296, 28%, 41%) | — | |
| HWB | hwb(296 30% 59%) | color: hwb(296 30% 59%) | |
| OKLCH | oklch(0.4524 0.0573 324.18) | color: oklch(0.4524 0.0573 324.18) | |
| Lab | lab(35.71 16.99 -12.39) | color: lab(35.71 16.99 -12.39) | |
| LCH | lch(35.71 21.03 323.9) | color: lch(35.71 21.03 323.9) |
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)
#5A5A61 — rgb(90, 90, 97)
Deuteranopia (Green-blind)
#5C5E5F — rgb(92, 94, 95)
Tritanopia (Blue-blind)
#655B5A — rgb(101, 91, 90)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 16%, 35%);
text
color: hsl(296, 16%, 35%);
border
border: 2px solid hsl(296, 16%, 35%);
gradient light
background: linear-gradient(to right, hsl(296, 16%, 55%), hsl(296, 16%, 35%));
gradient dark
background: linear-gradient(to right, hsl(296, 16%, 35%), hsl(296, 16%, 15%))
hex
background-color: #664B68;
tailwind
bg-[hsl(296,16%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 16%, 35%, 0.4);
css variable
--color-primary: hsl(296, 16%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 16%, 35%)?
HEX: #664B68 | RGB: rgb(102, 75, 104) | CMYK: 2%, 28%, 0%, 59% | HSV: 296°, 28%, 41%. Copy any format from the conversion table above.
What colors go well with #664B68?
The complementary color is HSL(116, 16%, 35%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 16%, 35%) in CSS?
As HSL: color: hsl(296, 16%, 35%); — As HEX: color: #664B68; — As RGB: color: rgb(102, 75, 104); — Tailwind CSS: bg-[hsl(296,16%,35%)] — CSS variable: --color-primary: hsl(296, 16%, 35%);