HSL(287, 99%, 11%)
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(287,99%,11%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 99%, 11%) | color: hsl(287, 99%, 11%) | |
| HEX | #2C0038 | color: #2C0038 | |
| RGB | rgb(44, 0, 56) | color: rgb(44, 0, 56) | |
| CMYK | cmyk(21%, 100%, 0%, 78%) | — | |
| HSV | hsv(287, 100%, 22%) | — | |
| HWB | hwb(287 0% 78%) | color: hwb(287 0% 78%) | |
| OKLCH | oklch(0.2161 0.105 317.64) | color: oklch(0.2161 0.105 317.64) | |
| Lab | lab(7.42 31.16 -25.02) | color: lab(7.42 31.16 -25.02) | |
| LCH | lch(7.42 39.96 321.24) | color: lch(7.42 39.96 321.24) |
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)
#19192A — rgb(25, 25, 42)
Deuteranopia (Green-blind)
#1C1F27 — rgb(28, 31, 39)
Tritanopia (Blue-blind)
#2A201D — rgb(42, 32, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 99%, 11%);
text
color: hsl(287, 99%, 11%);
border
border: 2px solid hsl(287, 99%, 11%);
gradient light
background: linear-gradient(to right, hsl(287, 99%, 31%), hsl(287, 99%, 11%));
gradient dark
background: linear-gradient(to right, hsl(287, 99%, 11%), hsl(287, 99%, 0%))
hex
background-color: #2C0038;
tailwind
bg-[hsl(287,99%,11%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 99%, 11%, 0.4);
css variable
--color-primary: hsl(287, 99%, 11%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 99%, 11%)?
HEX: #2C0038 | RGB: rgb(44, 0, 56) | CMYK: 21%, 100%, 0%, 78% | HSV: 287°, 100%, 22%. Copy any format from the conversion table above.
What colors go well with #2C0038?
The complementary color is HSL(107, 99%, 11%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 99%, 11%) in CSS?
As HSL: color: hsl(287, 99%, 11%); — As HEX: color: #2C0038; — As RGB: color: rgb(44, 0, 56); — Tailwind CSS: bg-[hsl(287,99%,11%)] — CSS variable: --color-primary: hsl(287, 99%, 11%);