HSL(293, 22%, 36%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,22%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 22%, 36%) | color: hsl(293, 22%, 36%) | |
| HEX | #6B4870 | color: #6B4870 | |
| RGB | rgb(107, 72, 112) | color: rgb(107, 72, 112) | |
| CMYK | cmyk(4%, 36%, 0%, 56%) | — | |
| HSV | hsv(293, 36%, 44%) | — | |
| HWB | hwb(293 28% 56%) | color: hwb(293 28% 56%) | |
| OKLCH | oklch(0.4559 0.0764 322.31) | color: oklch(0.4559 0.0764 322.31) | |
| Lab | lab(35.85 22.4 -17.13) | color: lab(35.85 22.4 -17.13) | |
| LCH | lch(35.85 28.2 322.59) | color: lch(35.85 28.2 322.59) |
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)
#5C5C66 — rgb(92, 92, 102)
Deuteranopia (Green-blind)
#5E6164 — rgb(94, 97, 100)
Tritanopia (Blue-blind)
#695F5D — rgb(105, 95, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 22%, 36%);
text
color: hsl(293, 22%, 36%);
border
border: 2px solid hsl(293, 22%, 36%);
gradient light
background: linear-gradient(to right, hsl(293, 22%, 56%), hsl(293, 22%, 36%));
gradient dark
background: linear-gradient(to right, hsl(293, 22%, 36%), hsl(293, 22%, 16%))
hex
background-color: #6B4870;
tailwind
bg-[hsl(293,22%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 22%, 36%, 0.4);
css variable
--color-primary: hsl(293, 22%, 36%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 22%, 36%)?
HEX: #6B4870 | RGB: rgb(107, 72, 112) | CMYK: 4%, 36%, 0%, 56% | HSV: 293°, 36%, 44%. Copy any format from the conversion table above.
What colors go well with #6B4870?
The complementary color is HSL(113, 22%, 36%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 22%, 36%) in CSS?
As HSL: color: hsl(293, 22%, 36%); — As HEX: color: #6B4870; — As RGB: color: rgb(107, 72, 112); — Tailwind CSS: bg-[hsl(293,22%,36%)] — CSS variable: --color-primary: hsl(293, 22%, 36%);