HSL(303, 80%, 18%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,80%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 80%, 18%) | color: hsl(303, 80%, 18%) | |
| HEX | #53094F | color: #53094F | |
| RGB | rgb(83, 9, 79) | color: rgb(83, 9, 79) | |
| CMYK | cmyk(0%, 89%, 5%, 67%) | — | |
| HSV | hsv(303, 89%, 33%) | — | |
| HWB | hwb(303 4% 67%) | color: hwb(303 4% 67%) | |
| OKLCH | oklch(0.3137 0.1311 330.72) | color: oklch(0.3137 0.1311 330.72) | |
| Lab | lab(18.36 40.18 -23.21) | color: lab(18.36 40.18 -23.21) | |
| LCH | lch(18.36 46.4 329.99) | color: lch(18.36 46.4 329.99) |
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)
#33323E — rgb(51, 50, 62)
Deuteranopia (Green-blind)
#373D3A — rgb(55, 61, 58)
Tritanopia (Blue-blind)
#4F312E — rgb(79, 49, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 80%, 18%);
text
color: hsl(303, 80%, 18%);
border
border: 2px solid hsl(303, 80%, 18%);
gradient light
background: linear-gradient(to right, hsl(303, 80%, 38%), hsl(303, 80%, 18%));
gradient dark
background: linear-gradient(to right, hsl(303, 80%, 18%), hsl(303, 80%, 0%))
hex
background-color: #53094F;
tailwind
bg-[hsl(303,80%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 80%, 18%, 0.4);
css variable
--color-primary: hsl(303, 80%, 18%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 80%, 18%)?
HEX: #53094F | RGB: rgb(83, 9, 79) | CMYK: 0%, 89%, 5%, 67% | HSV: 303°, 89%, 33%. Copy any format from the conversion table above.
What colors go well with #53094F?
The complementary color is HSL(123, 80%, 18%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 80%, 18%) in CSS?
As HSL: color: hsl(303, 80%, 18%); — As HEX: color: #53094F; — As RGB: color: rgb(83, 9, 79); — Tailwind CSS: bg-[hsl(303,80%,18%)] — CSS variable: --color-primary: hsl(303, 80%, 18%);