HSL(287, 100%, 3%)
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,100%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 100%, 3%) | color: hsl(287, 100%, 3%) | |
| HEX | #0C000F | color: #0C000F | |
| RGB | rgb(12, 0, 15) | color: rgb(12, 0, 15) | |
| CMYK | cmyk(20%, 100%, 0%, 94%) | — | |
| HSV | hsv(288, 100%, 6%) | — | |
| HWB | hwb(288 0% 94%) | color: hwb(288 0% 94%) | |
| OKLCH | oklch(0.1112 0.0528 322.12) | color: oklch(0.1112 0.0528 322.12) | |
| Lab | lab(1.02 5.36 -4.84) | color: lab(1.02 5.36 -4.84) | |
| LCH | lch(1.02 7.22 317.92) | color: lch(1.02 7.22 317.92) |
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)
#07070B — rgb(7, 7, 11)
Deuteranopia (Green-blind)
#08080B — rgb(8, 8, 11)
Tritanopia (Blue-blind)
#0B0908 — rgb(11, 9, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 100%, 3%);
text
color: hsl(287, 100%, 3%);
border
border: 2px solid hsl(287, 100%, 3%);
gradient light
background: linear-gradient(to right, hsl(287, 100%, 23%), hsl(287, 100%, 3%));
gradient dark
background: linear-gradient(to right, hsl(287, 100%, 3%), hsl(287, 100%, 0%))
hex
background-color: #0C000F;
tailwind
bg-[hsl(287,100%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 100%, 3%, 0.4);
css variable
--color-primary: hsl(287, 100%, 3%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 100%, 3%)?
HEX: #0C000F | RGB: rgb(12, 0, 15) | CMYK: 20%, 100%, 0%, 94% | HSV: 288°, 100%, 6%. Copy any format from the conversion table above.
What colors go well with #0C000F?
The complementary color is HSL(107, 100%, 3%). 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, 100%, 3%) in CSS?
As HSL: color: hsl(287, 100%, 3%); — As HEX: color: #0C000F; — As RGB: color: rgb(12, 0, 15); — Tailwind CSS: bg-[hsl(287,100%,3%)] — CSS variable: --color-primary: hsl(287, 100%, 3%);