HSL(291, 100%, 13%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,100%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 100%, 13%) | color: hsl(291, 100%, 13%) | |
| HEX | #380042 | color: #380042 | |
| RGB | rgb(56, 0, 66) | color: rgb(56, 0, 66) | |
| CMYK | cmyk(15%, 100%, 0%, 74%) | — | |
| HSV | hsv(291, 100%, 26%) | — | |
| HWB | hwb(291 0% 74%) | color: hwb(291 0% 74%) | |
| OKLCH | oklch(0.2472 0.1182 320.73) | color: oklch(0.2472 0.1182 320.73) | |
| Lab | lab(10.81 35.38 -26.59) | color: lab(10.81 35.38 -26.59) | |
| LCH | lch(10.81 44.26 323.07) | color: lch(10.81 44.26 323.07) |
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)
#201F32 — rgb(32, 31, 50)
Deuteranopia (Green-blind)
#23272E — rgb(35, 39, 46)
Tritanopia (Blue-blind)
#352523 — rgb(53, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 100%, 13%);
text
color: hsl(291, 100%, 13%);
border
border: 2px solid hsl(291, 100%, 13%);
gradient light
background: linear-gradient(to right, hsl(291, 100%, 33%), hsl(291, 100%, 13%));
gradient dark
background: linear-gradient(to right, hsl(291, 100%, 13%), hsl(291, 100%, 0%))
hex
background-color: #380042;
tailwind
bg-[hsl(291,100%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 100%, 13%, 0.4);
css variable
--color-primary: hsl(291, 100%, 13%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 100%, 13%)?
HEX: #380042 | RGB: rgb(56, 0, 66) | CMYK: 15%, 100%, 0%, 74% | HSV: 291°, 100%, 26%. Copy any format from the conversion table above.
What colors go well with #380042?
The complementary color is HSL(111, 100%, 13%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 100%, 13%) in CSS?
As HSL: color: hsl(291, 100%, 13%); — As HEX: color: #380042; — As RGB: color: rgb(56, 0, 66); — Tailwind CSS: bg-[hsl(291,100%,13%)] — CSS variable: --color-primary: hsl(291, 100%, 13%);