HSL(311, 65%, 47%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,65%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 65%, 47%) | color: hsl(311, 65%, 47%) | |
| HEX | #C62AA9 | color: #C62AA9 | |
| RGB | rgb(198, 42, 169) | color: rgb(198, 42, 169) | |
| CMYK | cmyk(0%, 79%, 15%, 22%) | — | |
| HSV | hsv(311, 79%, 78%) | — | |
| HWB | hwb(311 16% 22%) | color: hwb(311 16% 22%) | |
| OKLCH | oklch(0.579 0.2268 337.14) | color: oklch(0.579 0.2268 337.14) | |
| Lab | lab(47.66 70.8 -32.36) | color: lab(47.66 70.8 -32.36) | |
| LCH | lch(47.66 77.84 335.44) | color: lch(47.66 77.84 335.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)
#82818A — rgb(130, 129, 138)
Deuteranopia (Green-blind)
#8C9783 — rgb(140, 151, 131)
Tritanopia (Blue-blind)
#BE726D — rgb(190, 114, 109)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 65%, 47%);
text
color: hsl(311, 65%, 47%);
border
border: 2px solid hsl(311, 65%, 47%);
gradient light
background: linear-gradient(to right, hsl(311, 65%, 67%), hsl(311, 65%, 47%));
gradient dark
background: linear-gradient(to right, hsl(311, 65%, 47%), hsl(311, 65%, 27%))
hex
background-color: #C62AA9;
tailwind
bg-[hsl(311,65%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 65%, 47%, 0.4);
css variable
--color-primary: hsl(311, 65%, 47%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 65%, 47%)?
HEX: #C62AA9 | RGB: rgb(198, 42, 169) | CMYK: 0%, 79%, 15%, 22% | HSV: 311°, 79%, 78%. Copy any format from the conversion table above.
What colors go well with #C62AA9?
The complementary color is HSL(131, 65%, 47%). 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, 65%, 47%) in CSS?
As HSL: color: hsl(311, 65%, 47%); — As HEX: color: #C62AA9; — As RGB: color: rgb(198, 42, 169); — Tailwind CSS: bg-[hsl(311,65%,47%)] — CSS variable: --color-primary: hsl(311, 65%, 47%);