HSL(314, 40%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(314,40%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(314, 40%, 35%) | color: hsl(314, 40%, 35%) | |
| HEX | #7D366C | color: #7D366C | |
| RGB | rgb(125, 54, 108) | color: rgb(125, 54, 108) | |
| CMYK | cmyk(0%, 57%, 14%, 51%) | — | |
| HSV | hsv(314, 57%, 49%) | — | |
| HWB | hwb(314 21% 51%) | color: hwb(314 21% 51%) | |
| OKLCH | oklch(0.4479 0.1203 337.56) | color: oklch(0.4479 0.1203 337.56) | |
| Lab | lab(34.15 37.98 -17.02) | color: lab(34.15 37.98 -17.02) | |
| LCH | lch(34.15 41.62 335.86) | color: lch(34.15 41.62 335.86) |
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)
#5E5E5F — rgb(94, 94, 95)
Deuteranopia (Green-blind)
#62685C — rgb(98, 104, 92)
Tritanopia (Blue-blind)
#795552 — rgb(121, 85, 82)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(314, 40%, 35%);
text
color: hsl(314, 40%, 35%);
border
border: 2px solid hsl(314, 40%, 35%);
gradient light
background: linear-gradient(to right, hsl(314, 40%, 55%), hsl(314, 40%, 35%));
gradient dark
background: linear-gradient(to right, hsl(314, 40%, 35%), hsl(314, 40%, 15%))
hex
background-color: #7D366C;
tailwind
bg-[hsl(314,40%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(314, 40%, 35%, 0.4);
css variable
--color-primary: hsl(314, 40%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(314, 40%, 35%)?
HEX: #7D366C | RGB: rgb(125, 54, 108) | CMYK: 0%, 57%, 14%, 51% | HSV: 314°, 57%, 49%. Copy any format from the conversion table above.
What colors go well with #7D366C?
The complementary color is HSL(134, 40%, 35%). 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%, 35%) in CSS?
As HSL: color: hsl(314, 40%, 35%); — As HEX: color: #7D366C; — As RGB: color: rgb(125, 54, 108); — Tailwind CSS: bg-[hsl(314,40%,35%)] — CSS variable: --color-primary: hsl(314, 40%, 35%);