HSL(314, 40%, 37%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(314,40%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(314, 40%, 37%) | color: hsl(314, 40%, 37%) | |
| HEX | #843972 | color: #843972 | |
| RGB | rgb(132, 57, 114) | color: rgb(132, 57, 114) | |
| CMYK | cmyk(0%, 57%, 14%, 48%) | — | |
| HSV | hsv(314, 57%, 52%) | — | |
| HWB | hwb(314 22% 48%) | color: hwb(314 22% 48%) | |
| OKLCH | oklch(0.4652 0.1257 337.61) | color: oklch(0.4652 0.1257 337.61) | |
| Lab | lab(36.08 39.69 -17.75) | color: lab(36.08 39.69 -17.75) | |
| LCH | lch(36.08 43.48 335.91) | color: lch(36.08 43.48 335.91) |
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)
#646364 — rgb(100, 99, 100)
Deuteranopia (Green-blind)
#686E61 — rgb(104, 110, 97)
Tritanopia (Blue-blind)
#805957 — rgb(128, 89, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(314, 40%, 37%);
text
color: hsl(314, 40%, 37%);
border
border: 2px solid hsl(314, 40%, 37%);
gradient light
background: linear-gradient(to right, hsl(314, 40%, 57%), hsl(314, 40%, 37%));
gradient dark
background: linear-gradient(to right, hsl(314, 40%, 37%), hsl(314, 40%, 17%))
hex
background-color: #843972;
tailwind
bg-[hsl(314,40%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(314, 40%, 37%, 0.4);
css variable
--color-primary: hsl(314, 40%, 37%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(314, 40%, 37%)?
HEX: #843972 | RGB: rgb(132, 57, 114) | CMYK: 0%, 57%, 14%, 48% | HSV: 314°, 57%, 52%. Copy any format from the conversion table above.
What colors go well with #843972?
The complementary color is HSL(134, 40%, 37%). For a triadic harmony, use hues 314°, 74°, and 194°. For analogous combinations, try hues 284° and 344°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(314, 40%, 37%) in CSS?
As HSL: color: hsl(314, 40%, 37%); — As HEX: color: #843972; — As RGB: color: rgb(132, 57, 114); — Tailwind CSS: bg-[hsl(314,40%,37%)] — CSS variable: --color-primary: hsl(314, 40%, 37%);