HSL(301, 19%, 19%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(301,19%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 19%, 19%) | color: hsl(301, 19%, 19%) | |
| HEX | #3A2739 | color: #3A2739 | |
| RGB | rgb(58, 39, 57) | color: rgb(58, 39, 57) | |
| CMYK | cmyk(0%, 33%, 2%, 77%) | — | |
| HSV | hsv(303, 33%, 23%) | — | |
| HWB | hwb(303 15% 77%) | color: hwb(303 15% 77%) | |
| OKLCH | oklch(0.303 0.0413 328.31) | color: oklch(0.303 0.0413 328.31) | |
| Lab | lab(18.57 12.61 -8.04) | color: lab(18.57 12.61 -8.04) | |
| LCH | lch(18.57 14.96 327.48) | color: lch(18.57 14.96 327.48) |
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)
#323235 — rgb(50, 50, 53)
Deuteranopia (Green-blind)
#333434 — rgb(51, 52, 52)
Tritanopia (Blue-blind)
#393130 — rgb(57, 49, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 19%, 19%);
text
color: hsl(301, 19%, 19%);
border
border: 2px solid hsl(301, 19%, 19%);
gradient light
background: linear-gradient(to right, hsl(301, 19%, 39%), hsl(301, 19%, 19%));
gradient dark
background: linear-gradient(to right, hsl(301, 19%, 19%), hsl(301, 19%, 0%))
hex
background-color: #3A2739;
tailwind
bg-[hsl(301,19%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 19%, 19%, 0.4);
css variable
--color-primary: hsl(301, 19%, 19%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 19%, 19%)?
HEX: #3A2739 | RGB: rgb(58, 39, 57) | CMYK: 0%, 33%, 2%, 77% | HSV: 303°, 33%, 23%. Copy any format from the conversion table above.
What colors go well with #3A2739?
The complementary color is HSL(121, 19%, 19%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 19%, 19%) in CSS?
As HSL: color: hsl(301, 19%, 19%); — As HEX: color: #3A2739; — As RGB: color: rgb(58, 39, 57); — Tailwind CSS: bg-[hsl(301,19%,19%)] — CSS variable: --color-primary: hsl(301, 19%, 19%);