HSL(306, 80%, 28%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,80%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 80%, 28%) | color: hsl(306, 80%, 28%) | |
| HEX | #810E75 | color: #810E75 | |
| RGB | rgb(129, 14, 117) | color: rgb(129, 14, 117) | |
| CMYK | cmyk(0%, 89%, 9%, 49%) | — | |
| HSV | hsv(306, 89%, 51%) | — | |
| HWB | hwb(306 6% 49%) | color: hwb(306 6% 49%) | |
| OKLCH | oklch(0.4212 0.1786 333.43) | color: oklch(0.4212 0.1786 333.43) | |
| Lab | lab(30.08 55.13 -29.05) | color: lab(30.08 55.13 -29.05) | |
| LCH | lch(30.08 62.32 332.21) | color: lch(30.08 62.32 332.21) |
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)
#4F4E5C — rgb(79, 78, 92)
Deuteranopia (Green-blind)
#565F56 — rgb(86, 95, 86)
Tritanopia (Blue-blind)
#7B4844 — rgb(123, 72, 68)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 80%, 28%);
text
color: hsl(306, 80%, 28%);
border
border: 2px solid hsl(306, 80%, 28%);
gradient light
background: linear-gradient(to right, hsl(306, 80%, 48%), hsl(306, 80%, 28%));
gradient dark
background: linear-gradient(to right, hsl(306, 80%, 28%), hsl(306, 80%, 8%))
hex
background-color: #810E75;
tailwind
bg-[hsl(306,80%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 80%, 28%, 0.4);
css variable
--color-primary: hsl(306, 80%, 28%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 80%, 28%)?
HEX: #810E75 | RGB: rgb(129, 14, 117) | CMYK: 0%, 89%, 9%, 49% | HSV: 306°, 89%, 51%. Copy any format from the conversion table above.
What colors go well with #810E75?
The complementary color is HSL(126, 80%, 28%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 80%, 28%) in CSS?
As HSL: color: hsl(306, 80%, 28%); — As HEX: color: #810E75; — As RGB: color: rgb(129, 14, 117); — Tailwind CSS: bg-[hsl(306,80%,28%)] — CSS variable: --color-primary: hsl(306, 80%, 28%);