HSL(303, 47%, 15%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,47%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 47%, 15%) | color: hsl(303, 47%, 15%) | |
| HEX | #381436 | color: #381436 | |
| RGB | rgb(56, 20, 54) | color: rgb(56, 20, 54) | |
| CMYK | cmyk(0%, 64%, 4%, 78%) | — | |
| HSV | hsv(303, 64%, 22%) | — | |
| HWB | hwb(303 8% 78%) | color: hwb(303 8% 78%) | |
| OKLCH | oklch(0.2622 0.0766 329.66) | color: oklch(0.2622 0.0766 329.66) | |
| Lab | lab(13.28 23.43 -14.1) | color: lab(13.28 23.43 -14.1) | |
| LCH | lch(13.28 27.35 328.96) | color: lch(13.28 27.35 328.96) |
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)
#28282E — rgb(40, 40, 46)
Deuteranopia (Green-blind)
#2B2D2C — rgb(43, 45, 44)
Tritanopia (Blue-blind)
#362726 — rgb(54, 39, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 47%, 15%);
text
color: hsl(303, 47%, 15%);
border
border: 2px solid hsl(303, 47%, 15%);
gradient light
background: linear-gradient(to right, hsl(303, 47%, 35%), hsl(303, 47%, 15%));
gradient dark
background: linear-gradient(to right, hsl(303, 47%, 15%), hsl(303, 47%, 0%))
hex
background-color: #381436;
tailwind
bg-[hsl(303,47%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 47%, 15%, 0.4);
css variable
--color-primary: hsl(303, 47%, 15%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 47%, 15%)?
HEX: #381436 | RGB: rgb(56, 20, 54) | CMYK: 0%, 64%, 4%, 78% | HSV: 303°, 64%, 22%. Copy any format from the conversion table above.
What colors go well with #381436?
The complementary color is HSL(123, 47%, 15%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 47%, 15%) in CSS?
As HSL: color: hsl(303, 47%, 15%); — As HEX: color: #381436; — As RGB: color: rgb(56, 20, 54); — Tailwind CSS: bg-[hsl(303,47%,15%)] — CSS variable: --color-primary: hsl(303, 47%, 15%);