HSL(314, 50%, 40%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(314,50%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(314, 50%, 40%) | color: hsl(314, 50%, 40%) | |
| HEX | #993381 | color: #993381 | |
| RGB | rgb(153, 51, 129) | color: rgb(153, 51, 129) | |
| CMYK | cmyk(0%, 67%, 16%, 40%) | — | |
| HSV | hsv(314, 67%, 60%) | — | |
| HWB | hwb(314 20% 40%) | color: hwb(314 20% 40%) | |
| OKLCH | oklch(0.4964 0.1622 338.37) | color: oklch(0.4964 0.1622 338.37) | |
| Lab | lab(39.12 51.06 -22.1) | color: lab(39.12 51.06 -22.1) | |
| LCH | lch(39.12 55.64 336.6) | color: lch(39.12 55.64 336.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)
#6D6C6E — rgb(109, 108, 110)
Deuteranopia (Green-blind)
#737A6A — rgb(115, 122, 106)
Tritanopia (Blue-blind)
#945F5C — rgb(148, 95, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(314, 50%, 40%);
text
color: hsl(314, 50%, 40%);
border
border: 2px solid hsl(314, 50%, 40%);
gradient light
background: linear-gradient(to right, hsl(314, 50%, 60%), hsl(314, 50%, 40%));
gradient dark
background: linear-gradient(to right, hsl(314, 50%, 40%), hsl(314, 50%, 20%))
hex
background-color: #993381;
tailwind
bg-[hsl(314,50%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(314, 50%, 40%, 0.4);
css variable
--color-primary: hsl(314, 50%, 40%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(314, 50%, 40%)?
HEX: #993381 | RGB: rgb(153, 51, 129) | CMYK: 0%, 67%, 16%, 40% | HSV: 314°, 67%, 60%. Copy any format from the conversion table above.
What colors go well with #993381?
The complementary color is HSL(134, 50%, 40%). 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, 50%, 40%) in CSS?
As HSL: color: hsl(314, 50%, 40%); — As HEX: color: #993381; — As RGB: color: rgb(153, 51, 129); — Tailwind CSS: bg-[hsl(314,50%,40%)] — CSS variable: --color-primary: hsl(314, 50%, 40%);