HSL(286, 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(286,100%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 100%, 13%) | color: hsl(286, 100%, 13%) | |
| HEX | #330042 | color: #330042 | |
| RGB | rgb(51, 0, 66) | color: rgb(51, 0, 66) | |
| CMYK | cmyk(23%, 100%, 0%, 74%) | — | |
| HSV | hsv(286, 100%, 26%) | — | |
| HWB | hwb(286 0% 74%) | color: hwb(286 0% 74%) | |
| OKLCH | oklch(0.2381 0.1164 316.53) | color: oklch(0.2381 0.1164 316.53) | |
| Lab | lab(9.78 34.52 -28.31) | color: lab(9.78 34.52 -28.31) | |
| LCH | lch(9.78 44.64 320.64) | color: lch(9.78 44.64 320.64) |
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)
#1D1C32 — rgb(29, 28, 50)
Deuteranopia (Green-blind)
#20242E — rgb(32, 36, 46)
Tritanopia (Blue-blind)
#302523 — rgb(48, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 100%, 13%);
text
color: hsl(286, 100%, 13%);
border
border: 2px solid hsl(286, 100%, 13%);
gradient light
background: linear-gradient(to right, hsl(286, 100%, 33%), hsl(286, 100%, 13%));
gradient dark
background: linear-gradient(to right, hsl(286, 100%, 13%), hsl(286, 100%, 0%))
hex
background-color: #330042;
tailwind
bg-[hsl(286,100%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 100%, 13%, 0.4);
css variable
--color-primary: hsl(286, 100%, 13%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 100%, 13%)?
HEX: #330042 | RGB: rgb(51, 0, 66) | CMYK: 23%, 100%, 0%, 74% | HSV: 286°, 100%, 26%. Copy any format from the conversion table above.
What colors go well with #330042?
The complementary color is HSL(106, 100%, 13%). 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, 100%, 13%) in CSS?
As HSL: color: hsl(286, 100%, 13%); — As HEX: color: #330042; — As RGB: color: rgb(51, 0, 66); — Tailwind CSS: bg-[hsl(286,100%,13%)] — CSS variable: --color-primary: hsl(286, 100%, 13%);