HSL(289, 75%, 21%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,75%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 75%, 21%) | color: hsl(289, 75%, 21%) | |
| HEX | #4F0D5E | color: #4F0D5E | |
| RGB | rgb(79, 13, 94) | color: rgb(79, 13, 94) | |
| CMYK | cmyk(16%, 86%, 0%, 63%) | — | |
| HSV | hsv(289, 86%, 37%) | — | |
| HWB | hwb(289 5% 63%) | color: hwb(289 5% 63%) | |
| OKLCH | oklch(0.3205 0.1385 319.09) | color: oklch(0.3205 0.1385 319.09) | |
| Lab | lab(19.05 41 -32.25) | color: lab(19.05 41 -32.25) | |
| LCH | lch(19.05 52.16 321.81) | color: lch(19.05 52.16 321.81) |
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)
#32324A — rgb(50, 50, 74)
Deuteranopia (Green-blind)
#363B46 — rgb(54, 59, 70)
Tritanopia (Blue-blind)
#4C3B38 — rgb(76, 59, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 75%, 21%);
text
color: hsl(289, 75%, 21%);
border
border: 2px solid hsl(289, 75%, 21%);
gradient light
background: linear-gradient(to right, hsl(289, 75%, 41%), hsl(289, 75%, 21%));
gradient dark
background: linear-gradient(to right, hsl(289, 75%, 21%), hsl(289, 75%, 1%))
hex
background-color: #4F0D5E;
tailwind
bg-[hsl(289,75%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 75%, 21%, 0.4);
css variable
--color-primary: hsl(289, 75%, 21%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 75%, 21%)?
HEX: #4F0D5E | RGB: rgb(79, 13, 94) | CMYK: 16%, 86%, 0%, 63% | HSV: 289°, 86%, 37%. Copy any format from the conversion table above.
What colors go well with #4F0D5E?
The complementary color is HSL(109, 75%, 21%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(289, 75%, 21%) in CSS?
As HSL: color: hsl(289, 75%, 21%); — As HEX: color: #4F0D5E; — As RGB: color: rgb(79, 13, 94); — Tailwind CSS: bg-[hsl(289,75%,21%)] — CSS variable: --color-primary: hsl(289, 75%, 21%);