HSL(297, 25%, 32%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,25%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 25%, 32%) | color: hsl(297, 25%, 32%) | |
| HEX | #643D66 | color: #643D66 | |
| RGB | rgb(100, 61, 102) | color: rgb(100, 61, 102) | |
| CMYK | cmyk(2%, 40%, 0%, 60%) | — | |
| HSV | hsv(297, 40%, 40%) | — | |
| HWB | hwb(297 24% 60%) | color: hwb(297 24% 60%) | |
| OKLCH | oklch(0.4221 0.0817 325.19) | color: oklch(0.4221 0.0817 325.19) | |
| Lab | lab(31.82 24.46 -17.1) | color: lab(31.82 24.46 -17.1) | |
| LCH | lch(31.82 29.84 325.04) | color: lch(31.82 29.84 325.04) |
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)
#53535C — rgb(83, 83, 92)
Deuteranopia (Green-blind)
#55585A — rgb(85, 88, 90)
Tritanopia (Blue-blind)
#625453 — rgb(98, 84, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 25%, 32%);
text
color: hsl(297, 25%, 32%);
border
border: 2px solid hsl(297, 25%, 32%);
gradient light
background: linear-gradient(to right, hsl(297, 25%, 52%), hsl(297, 25%, 32%));
gradient dark
background: linear-gradient(to right, hsl(297, 25%, 32%), hsl(297, 25%, 12%))
hex
background-color: #643D66;
tailwind
bg-[hsl(297,25%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 25%, 32%, 0.4);
css variable
--color-primary: hsl(297, 25%, 32%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 25%, 32%)?
HEX: #643D66 | RGB: rgb(100, 61, 102) | CMYK: 2%, 40%, 0%, 60% | HSV: 297°, 40%, 40%. Copy any format from the conversion table above.
What colors go well with #643D66?
The complementary color is HSL(117, 25%, 32%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 25%, 32%) in CSS?
As HSL: color: hsl(297, 25%, 32%); — As HEX: color: #643D66; — As RGB: color: rgb(100, 61, 102); — Tailwind CSS: bg-[hsl(297,25%,32%)] — CSS variable: --color-primary: hsl(297, 25%, 32%);