HSL(294, 80%, 18%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(294,80%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(294, 80%, 18%) | color: hsl(294, 80%, 18%) | |
| HEX | #4B0953 | color: #4B0953 | |
| RGB | rgb(75, 9, 83) | color: rgb(75, 9, 83) | |
| CMYK | cmyk(10%, 89%, 0%, 67%) | — | |
| HSV | hsv(294, 89%, 33%) | — | |
| HWB | hwb(294 4% 67%) | color: hwb(294 4% 67%) | |
| OKLCH | oklch(0.3025 0.1306 323) | color: oklch(0.3025 0.1306 323) | |
| Lab | lab(17.07 39.17 -28.09) | color: lab(17.07 39.17 -28.09) | |
| LCH | lch(17.07 48.2 324.35) | color: lch(17.07 48.2 324.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)
#2E2E41 — rgb(46, 46, 65)
Deuteranopia (Green-blind)
#32373D — rgb(50, 55, 61)
Tritanopia (Blue-blind)
#483330 — rgb(72, 51, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(294, 80%, 18%);
text
color: hsl(294, 80%, 18%);
border
border: 2px solid hsl(294, 80%, 18%);
gradient light
background: linear-gradient(to right, hsl(294, 80%, 38%), hsl(294, 80%, 18%));
gradient dark
background: linear-gradient(to right, hsl(294, 80%, 18%), hsl(294, 80%, 0%))
hex
background-color: #4B0953;
tailwind
bg-[hsl(294,80%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(294, 80%, 18%, 0.4);
css variable
--color-primary: hsl(294, 80%, 18%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(294, 80%, 18%)?
HEX: #4B0953 | RGB: rgb(75, 9, 83) | CMYK: 10%, 89%, 0%, 67% | HSV: 294°, 89%, 33%. Copy any format from the conversion table above.
What colors go well with #4B0953?
The complementary color is HSL(114, 80%, 18%). For a triadic harmony, use hues 294°, 54°, and 174°. For analogous combinations, try hues 264° and 324°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(294, 80%, 18%) in CSS?
As HSL: color: hsl(294, 80%, 18%); — As HEX: color: #4B0953; — As RGB: color: rgb(75, 9, 83); — Tailwind CSS: bg-[hsl(294,80%,18%)] — CSS variable: --color-primary: hsl(294, 80%, 18%);