HSL(311, 91%, 27%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,91%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 91%, 27%) | color: hsl(311, 91%, 27%) | |
| HEX | #84066D | color: #84066D | |
| RGB | rgb(132, 6, 109) | color: rgb(132, 6, 109) | |
| CMYK | cmyk(0%, 95%, 17%, 48%) | — | |
| HSV | hsv(311, 95%, 52%) | — | |
| HWB | hwb(311 3% 48%) | color: hwb(311 3% 48%) | |
| OKLCH | oklch(0.4186 0.1791 338.25) | color: oklch(0.4186 0.1791 338.25) | |
| Lab | lab(29.77 55.92 -24.39) | color: lab(29.77 55.92 -24.39) | |
| LCH | lch(29.77 61.01 336.44) | color: lch(29.77 61.01 336.44) |
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)
#4D4C54 — rgb(77, 76, 84)
Deuteranopia (Green-blind)
#555E4E — rgb(85, 94, 78)
Tritanopia (Blue-blind)
#7E403C — rgb(126, 64, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 91%, 27%);
text
color: hsl(311, 91%, 27%);
border
border: 2px solid hsl(311, 91%, 27%);
gradient light
background: linear-gradient(to right, hsl(311, 91%, 47%), hsl(311, 91%, 27%));
gradient dark
background: linear-gradient(to right, hsl(311, 91%, 27%), hsl(311, 91%, 7%))
hex
background-color: #84066D;
tailwind
bg-[hsl(311,91%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 91%, 27%, 0.4);
css variable
--color-primary: hsl(311, 91%, 27%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 91%, 27%)?
HEX: #84066D | RGB: rgb(132, 6, 109) | CMYK: 0%, 95%, 17%, 48% | HSV: 311°, 95%, 52%. Copy any format from the conversion table above.
What colors go well with #84066D?
The complementary color is HSL(131, 91%, 27%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 91%, 27%) in CSS?
As HSL: color: hsl(311, 91%, 27%); — As HEX: color: #84066D; — As RGB: color: rgb(132, 6, 109); — Tailwind CSS: bg-[hsl(311,91%,27%)] — CSS variable: --color-primary: hsl(311, 91%, 27%);