HSL(290, 84%, 27%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,84%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 84%, 27%) | color: hsl(290, 84%, 27%) | |
| HEX | #6B0B7F | color: #6B0B7F | |
| RGB | rgb(107, 11, 127) | color: rgb(107, 11, 127) | |
| CMYK | cmyk(16%, 91%, 0%, 50%) | — | |
| HSV | hsv(290, 91%, 50%) | — | |
| HWB | hwb(290 5% 50%) | color: hwb(290 5% 50%) | |
| OKLCH | oklch(0.39 0.1789 319.3) | color: oklch(0.39 0.1789 319.3) | |
| Lab | lab(26.44 53.21 -41.44) | color: lab(26.44 53.21 -41.44) | |
| LCH | lch(26.44 67.44 322.09) | color: lch(26.44 67.44 322.09) |
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)
#414163 — rgb(65, 65, 99)
Deuteranopia (Green-blind)
#474E5C — rgb(71, 78, 92)
Tritanopia (Blue-blind)
#664D48 — rgb(102, 77, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 84%, 27%);
text
color: hsl(290, 84%, 27%);
border
border: 2px solid hsl(290, 84%, 27%);
gradient light
background: linear-gradient(to right, hsl(290, 84%, 47%), hsl(290, 84%, 27%));
gradient dark
background: linear-gradient(to right, hsl(290, 84%, 27%), hsl(290, 84%, 7%))
hex
background-color: #6B0B7F;
tailwind
bg-[hsl(290,84%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 84%, 27%, 0.4);
css variable
--color-primary: hsl(290, 84%, 27%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 84%, 27%)?
HEX: #6B0B7F | RGB: rgb(107, 11, 127) | CMYK: 16%, 91%, 0%, 50% | HSV: 290°, 91%, 50%. Copy any format from the conversion table above.
What colors go well with #6B0B7F?
The complementary color is HSL(110, 84%, 27%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 84%, 27%) in CSS?
As HSL: color: hsl(290, 84%, 27%); — As HEX: color: #6B0B7F; — As RGB: color: rgb(107, 11, 127); — Tailwind CSS: bg-[hsl(290,84%,27%)] — CSS variable: --color-primary: hsl(290, 84%, 27%);