HSL(289, 65%, 33%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,65%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 65%, 33%) | color: hsl(289, 65%, 33%) | |
| HEX | #771D8B | color: #771D8B | |
| RGB | rgb(119, 29, 139) | color: rgb(119, 29, 139) | |
| CMYK | cmyk(14%, 79%, 0%, 45%) | — | |
| HSV | hsv(289, 79%, 55%) | — | |
| HWB | hwb(289 12% 45%) | color: hwb(289 12% 45%) | |
| OKLCH | oklch(0.429 0.179 319.44) | color: oklch(0.429 0.179 319.44) | |
| Lab | lab(31.03 52.94 -41.44) | color: lab(31.03 52.94 -41.44) | |
| LCH | lch(31.03 67.23 321.95) | color: lch(31.03 67.23 321.95) |
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)
#504F70 — rgb(80, 79, 112)
Deuteranopia (Green-blind)
#555C6A — rgb(85, 92, 106)
Tritanopia (Blue-blind)
#735B57 — rgb(115, 91, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 65%, 33%);
text
color: hsl(289, 65%, 33%);
border
border: 2px solid hsl(289, 65%, 33%);
gradient light
background: linear-gradient(to right, hsl(289, 65%, 53%), hsl(289, 65%, 33%));
gradient dark
background: linear-gradient(to right, hsl(289, 65%, 33%), hsl(289, 65%, 13%))
hex
background-color: #771D8B;
tailwind
bg-[hsl(289,65%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 65%, 33%, 0.4);
css variable
--color-primary: hsl(289, 65%, 33%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 65%, 33%)?
HEX: #771D8B | RGB: rgb(119, 29, 139) | CMYK: 14%, 79%, 0%, 45% | HSV: 289°, 79%, 55%. Copy any format from the conversion table above.
What colors go well with #771D8B?
The complementary color is HSL(109, 65%, 33%). 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, 65%, 33%) in CSS?
As HSL: color: hsl(289, 65%, 33%); — As HEX: color: #771D8B; — As RGB: color: rgb(119, 29, 139); — Tailwind CSS: bg-[hsl(289,65%,33%)] — CSS variable: --color-primary: hsl(289, 65%, 33%);