HSL(311, 66%, 43%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,66%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 66%, 43%) | color: hsl(311, 66%, 43%) | |
| HEX | #B6259B | color: #B6259B | |
| RGB | rgb(182, 37, 155) | color: rgb(182, 37, 155) | |
| CMYK | cmyk(0%, 80%, 15%, 29%) | — | |
| HSV | hsv(311, 80%, 71%) | — | |
| HWB | hwb(311 14% 29%) | color: hwb(311 14% 29%) | |
| OKLCH | oklch(0.5432 0.2136 337.19) | color: oklch(0.5432 0.2136 337.19) | |
| Lab | lab(43.71 66.67 -30.4) | color: lab(43.71 66.67 -30.4) | |
| LCH | lch(43.71 73.27 335.49) | color: lch(43.71 73.27 335.49) |
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)
#77767E — rgb(119, 118, 126)
Deuteranopia (Green-blind)
#808B78 — rgb(128, 139, 120)
Tritanopia (Blue-blind)
#AF6863 — rgb(175, 104, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 66%, 43%);
text
color: hsl(311, 66%, 43%);
border
border: 2px solid hsl(311, 66%, 43%);
gradient light
background: linear-gradient(to right, hsl(311, 66%, 63%), hsl(311, 66%, 43%));
gradient dark
background: linear-gradient(to right, hsl(311, 66%, 43%), hsl(311, 66%, 23%))
hex
background-color: #B6259B;
tailwind
bg-[hsl(311,66%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 66%, 43%, 0.4);
css variable
--color-primary: hsl(311, 66%, 43%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 66%, 43%)?
HEX: #B6259B | RGB: rgb(182, 37, 155) | CMYK: 0%, 80%, 15%, 29% | HSV: 311°, 80%, 71%. Copy any format from the conversion table above.
What colors go well with #B6259B?
The complementary color is HSL(131, 66%, 43%). 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, 66%, 43%) in CSS?
As HSL: color: hsl(311, 66%, 43%); — As HEX: color: #B6259B; — As RGB: color: rgb(182, 37, 155); — Tailwind CSS: bg-[hsl(311,66%,43%)] — CSS variable: --color-primary: hsl(311, 66%, 43%);