HSL(308, 30%, 19%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,30%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 30%, 19%) | color: hsl(308, 30%, 19%) | |
| HEX | #3F223B | color: #3F223B | |
| RGB | rgb(63, 34, 59) | color: rgb(63, 34, 59) | |
| CMYK | cmyk(0%, 46%, 6%, 75%) | — | |
| HSV | hsv(308, 46%, 25%) | — | |
| HWB | hwb(308 14% 75%) | color: hwb(308 14% 75%) | |
| OKLCH | oklch(0.3005 0.0592 332.1) | color: oklch(0.3005 0.0592 332.1) | |
| Lab | lab(17.99 18.4 -10.24) | color: lab(17.99 18.4 -10.24) | |
| LCH | lch(17.99 21.06 330.9) | color: lch(17.99 21.06 330.9) |
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)
#343634 — rgb(52, 54, 52)
Tritanopia (Blue-blind)
#3E302F — rgb(62, 48, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 30%, 19%);
text
color: hsl(308, 30%, 19%);
border
border: 2px solid hsl(308, 30%, 19%);
gradient light
background: linear-gradient(to right, hsl(308, 30%, 39%), hsl(308, 30%, 19%));
gradient dark
background: linear-gradient(to right, hsl(308, 30%, 19%), hsl(308, 30%, 0%))
hex
background-color: #3F223B;
tailwind
bg-[hsl(308,30%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 30%, 19%, 0.4);
css variable
--color-primary: hsl(308, 30%, 19%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 30%, 19%)?
HEX: #3F223B | RGB: rgb(63, 34, 59) | CMYK: 0%, 46%, 6%, 75% | HSV: 308°, 46%, 25%. Copy any format from the conversion table above.
What colors go well with #3F223B?
The complementary color is HSL(128, 30%, 19%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 30%, 19%) in CSS?
As HSL: color: hsl(308, 30%, 19%); — As HEX: color: #3F223B; — As RGB: color: rgb(63, 34, 59); — Tailwind CSS: bg-[hsl(308,30%,19%)] — CSS variable: --color-primary: hsl(308, 30%, 19%);