HSL(286, 20%, 24%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(286,20%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 20%, 24%) | color: hsl(286, 20%, 24%) | |
| HEX | #443149 | color: #443149 | |
| RGB | rgb(68, 49, 73) | color: rgb(68, 49, 73) | |
| CMYK | cmyk(7%, 33%, 0%, 71%) | — | |
| HSV | hsv(288, 33%, 29%) | — | |
| HWB | hwb(288 19% 71%) | color: hwb(288 19% 71%) | |
| OKLCH | oklch(0.3447 0.0479 319.14) | color: oklch(0.3447 0.0479 319.14) | |
| Lab | lab(23.36 13.66 -11.52) | color: lab(23.36 13.66 -11.52) | |
| LCH | lch(23.36 17.87 319.86) | color: lch(23.36 17.87 319.86) |
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)
#3C3C43 — rgb(60, 60, 67)
Deuteranopia (Green-blind)
#3D3E42 — rgb(61, 62, 66)
Tritanopia (Blue-blind)
#433F3E — rgb(67, 63, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 20%, 24%);
text
color: hsl(286, 20%, 24%);
border
border: 2px solid hsl(286, 20%, 24%);
gradient light
background: linear-gradient(to right, hsl(286, 20%, 44%), hsl(286, 20%, 24%));
gradient dark
background: linear-gradient(to right, hsl(286, 20%, 24%), hsl(286, 20%, 4%))
hex
background-color: #443149;
tailwind
bg-[hsl(286,20%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 20%, 24%, 0.4);
css variable
--color-primary: hsl(286, 20%, 24%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 20%, 24%)?
HEX: #443149 | RGB: rgb(68, 49, 73) | CMYK: 7%, 33%, 0%, 71% | HSV: 288°, 33%, 29%. Copy any format from the conversion table above.
What colors go well with #443149?
The complementary color is HSL(106, 20%, 24%). For a triadic harmony, use hues 286°, 46°, and 166°. For analogous combinations, try hues 256° and 316°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(286, 20%, 24%) in CSS?
As HSL: color: hsl(286, 20%, 24%); — As HEX: color: #443149; — As RGB: color: rgb(68, 49, 73); — Tailwind CSS: bg-[hsl(286,20%,24%)] — CSS variable: --color-primary: hsl(286, 20%, 24%);