HSL(296, 20%, 38%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,20%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 20%, 38%) | color: hsl(296, 20%, 38%) | |
| HEX | #724E74 | color: #724E74 | |
| RGB | rgb(114, 78, 116) | color: rgb(114, 78, 116) | |
| CMYK | cmyk(2%, 33%, 0%, 55%) | — | |
| HSV | hsv(297, 33%, 45%) | — | |
| HWB | hwb(297 30% 55%) | color: hwb(297 30% 55%) | |
| OKLCH | oklch(0.4773 0.0741 324.87) | color: oklch(0.4773 0.0741 324.87) | |
| Lab | lab(38.35 22.11 -15.71) | color: lab(38.35 22.11 -15.71) | |
| LCH | lch(38.35 27.12 324.6) | color: lch(38.35 27.12 324.6) |
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)
#62626B — rgb(98, 98, 107)
Deuteranopia (Green-blind)
#656769 — rgb(101, 103, 105)
Tritanopia (Blue-blind)
#706462 — rgb(112, 100, 98)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 20%, 38%);
text
color: hsl(296, 20%, 38%);
border
border: 2px solid hsl(296, 20%, 38%);
gradient light
background: linear-gradient(to right, hsl(296, 20%, 58%), hsl(296, 20%, 38%));
gradient dark
background: linear-gradient(to right, hsl(296, 20%, 38%), hsl(296, 20%, 18%))
hex
background-color: #724E74;
tailwind
bg-[hsl(296,20%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 20%, 38%, 0.4);
css variable
--color-primary: hsl(296, 20%, 38%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 20%, 38%)?
HEX: #724E74 | RGB: rgb(114, 78, 116) | CMYK: 2%, 33%, 0%, 55% | HSV: 297°, 33%, 45%. Copy any format from the conversion table above.
What colors go well with #724E74?
The complementary color is HSL(116, 20%, 38%). 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, 20%, 38%) in CSS?
As HSL: color: hsl(296, 20%, 38%); — As HEX: color: #724E74; — As RGB: color: rgb(114, 78, 116); — Tailwind CSS: bg-[hsl(296,20%,38%)] — CSS variable: --color-primary: hsl(296, 20%, 38%);