HSL(311, 77%, 26%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,77%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 77%, 26%) | color: hsl(311, 77%, 26%) | |
| HEX | #750F63 | color: #750F63 | |
| RGB | rgb(117, 15, 99) | color: rgb(117, 15, 99) | |
| CMYK | cmyk(0%, 87%, 15%, 54%) | — | |
| HSV | hsv(311, 87%, 46%) | — | |
| HWB | hwb(311 6% 54%) | color: hwb(311 6% 54%) | |
| OKLCH | oklch(0.3903 0.1592 337.05) | color: oklch(0.3903 0.1592 337.05) | |
| Lab | lab(26.81 49.62 -22.77) | color: lab(26.81 49.62 -22.77) | |
| LCH | lch(26.81 54.6 335.35) | color: lch(26.81 54.6 335.35) |
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)
#49484F — rgb(73, 72, 79)
Deuteranopia (Green-blind)
#4F564A — rgb(79, 86, 74)
Tritanopia (Blue-blind)
#703F3B — rgb(112, 63, 59)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 77%, 26%);
text
color: hsl(311, 77%, 26%);
border
border: 2px solid hsl(311, 77%, 26%);
gradient light
background: linear-gradient(to right, hsl(311, 77%, 46%), hsl(311, 77%, 26%));
gradient dark
background: linear-gradient(to right, hsl(311, 77%, 26%), hsl(311, 77%, 6%))
hex
background-color: #750F63;
tailwind
bg-[hsl(311,77%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 77%, 26%, 0.4);
css variable
--color-primary: hsl(311, 77%, 26%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 77%, 26%)?
HEX: #750F63 | RGB: rgb(117, 15, 99) | CMYK: 0%, 87%, 15%, 54% | HSV: 311°, 87%, 46%. Copy any format from the conversion table above.
What colors go well with #750F63?
The complementary color is HSL(131, 77%, 26%). 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, 77%, 26%) in CSS?
As HSL: color: hsl(311, 77%, 26%); — As HEX: color: #750F63; — As RGB: color: rgb(117, 15, 99); — Tailwind CSS: bg-[hsl(311,77%,26%)] — CSS variable: --color-primary: hsl(311, 77%, 26%);