HSL(294, 40%, 32%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(294,40%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(294, 40%, 32%) | color: hsl(294, 40%, 32%) | |
| HEX | #6C3172 | color: #6C3172 | |
| RGB | rgb(108, 49, 114) | color: rgb(108, 49, 114) | |
| CMYK | cmyk(5%, 57%, 0%, 55%) | — | |
| HSV | hsv(294, 57%, 45%) | — | |
| HWB | hwb(294 19% 55%) | color: hwb(294 19% 55%) | |
| OKLCH | oklch(0.4194 0.1224 323.85) | color: oklch(0.4194 0.1224 323.85) | |
| Lab | lab(30.88 36.47 -26.12) | color: lab(30.88 36.47 -26.12) | |
| LCH | lch(30.88 44.86 324.39) | color: lch(30.88 44.86 324.39) |
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)
#525262 — rgb(82, 82, 98)
Deuteranopia (Green-blind)
#565A5F — rgb(86, 90, 95)
Tritanopia (Blue-blind)
#695653 — rgb(105, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(294, 40%, 32%);
text
color: hsl(294, 40%, 32%);
border
border: 2px solid hsl(294, 40%, 32%);
gradient light
background: linear-gradient(to right, hsl(294, 40%, 52%), hsl(294, 40%, 32%));
gradient dark
background: linear-gradient(to right, hsl(294, 40%, 32%), hsl(294, 40%, 12%))
hex
background-color: #6C3172;
tailwind
bg-[hsl(294,40%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(294, 40%, 32%, 0.4);
css variable
--color-primary: hsl(294, 40%, 32%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(294, 40%, 32%)?
HEX: #6C3172 | RGB: rgb(108, 49, 114) | CMYK: 5%, 57%, 0%, 55% | HSV: 294°, 57%, 45%. Copy any format from the conversion table above.
What colors go well with #6C3172?
The complementary color is HSL(114, 40%, 32%). For a triadic harmony, use hues 294°, 54°, and 174°. For analogous combinations, try hues 264° and 324°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(294, 40%, 32%) in CSS?
As HSL: color: hsl(294, 40%, 32%); — As HEX: color: #6C3172; — As RGB: color: rgb(108, 49, 114); — Tailwind CSS: bg-[hsl(294,40%,32%)] — CSS variable: --color-primary: hsl(294, 40%, 32%);