HSL(300, 20%, 28%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(300,20%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(300, 20%, 28%) | color: hsl(300, 20%, 28%) | |
| HEX | #563956 | color: #563956 | |
| RGB | rgb(86, 57, 86) | color: rgb(86, 57, 86) | |
| CMYK | cmyk(0%, 34%, 0%, 66%) | — | |
| HSV | hsv(300, 34%, 34%) | — | |
| HWB | hwb(300 22% 66%) | color: hwb(300 22% 66%) | |
| OKLCH | oklch(0.3893 0.0608 326.67) | color: oklch(0.3893 0.0608 326.67) | |
| Lab | lab(28.32 18.36 -12.33) | color: lab(28.32 18.36 -12.33) | |
| LCH | lch(28.32 22.12 326.12) | color: lch(28.32 22.12 326.12) |
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)
#49494F — rgb(73, 73, 79)
Deuteranopia (Green-blind)
#4B4D4D — rgb(75, 77, 77)
Tritanopia (Blue-blind)
#554948 — rgb(85, 73, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(300, 20%, 28%);
text
color: hsl(300, 20%, 28%);
border
border: 2px solid hsl(300, 20%, 28%);
gradient light
background: linear-gradient(to right, hsl(300, 20%, 48%), hsl(300, 20%, 28%));
gradient dark
background: linear-gradient(to right, hsl(300, 20%, 28%), hsl(300, 20%, 8%))
hex
background-color: #563956;
tailwind
bg-[hsl(300,20%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(300, 20%, 28%, 0.4);
css variable
--color-primary: hsl(300, 20%, 28%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(300, 20%, 28%)?
HEX: #563956 | RGB: rgb(86, 57, 86) | CMYK: 0%, 34%, 0%, 66% | HSV: 300°, 34%, 34%. Copy any format from the conversion table above.
What colors go well with #563956?
The complementary color is HSL(120, 20%, 28%). For a triadic harmony, use hues 300°, 60°, and 180°. For analogous combinations, try hues 270° and 330°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(300, 20%, 28%) in CSS?
As HSL: color: hsl(300, 20%, 28%); — As HEX: color: #563956; — As RGB: color: rgb(86, 57, 86); — Tailwind CSS: bg-[hsl(300,20%,28%)] — CSS variable: --color-primary: hsl(300, 20%, 28%);