HSL(311, 83%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,83%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 83%, 35%) | color: hsl(311, 83%, 35%) | |
| HEX | #A30F88 | color: #A30F88 | |
| RGB | rgb(163, 15, 136) | color: rgb(163, 15, 136) | |
| CMYK | cmyk(0%, 91%, 17%, 36%) | — | |
| HSV | hsv(311, 91%, 64%) | — | |
| HWB | hwb(311 6% 36%) | color: hwb(311 6% 36%) | |
| OKLCH | oklch(0.4905 0.2071 337.96) | color: oklch(0.4905 0.2071 337.96) | |
| Lab | lab(37.68 64.63 -28.54) | color: lab(37.68 64.63 -28.54) | |
| LCH | lch(37.68 70.65 336.17) | color: lch(37.68 70.65 336.17) |
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)
#63626B — rgb(99, 98, 107)
Deuteranopia (Green-blind)
#6C7764 — rgb(108, 119, 100)
Tritanopia (Blue-blind)
#9C544F — rgb(156, 84, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 83%, 35%);
text
color: hsl(311, 83%, 35%);
border
border: 2px solid hsl(311, 83%, 35%);
gradient light
background: linear-gradient(to right, hsl(311, 83%, 55%), hsl(311, 83%, 35%));
gradient dark
background: linear-gradient(to right, hsl(311, 83%, 35%), hsl(311, 83%, 15%))
hex
background-color: #A30F88;
tailwind
bg-[hsl(311,83%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 83%, 35%, 0.4);
css variable
--color-primary: hsl(311, 83%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 83%, 35%)?
HEX: #A30F88 | RGB: rgb(163, 15, 136) | CMYK: 0%, 91%, 17%, 36% | HSV: 311°, 91%, 64%. Copy any format from the conversion table above.
What colors go well with #A30F88?
The complementary color is HSL(131, 83%, 35%). 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, 83%, 35%) in CSS?
As HSL: color: hsl(311, 83%, 35%); — As HEX: color: #A30F88; — As RGB: color: rgb(163, 15, 136); — Tailwind CSS: bg-[hsl(311,83%,35%)] — CSS variable: --color-primary: hsl(311, 83%, 35%);