HSL(331, 8%, 7%)
Very Dark Black — Black color
Adjust Color
Color Information
Color Name
Very Dark Black
Color Family
Black
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(331,8%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 8%, 7%) | color: hsl(331, 8%, 7%) | |
| HEX | #131012 | color: #131012 | |
| RGB | rgb(19, 16, 18) | color: rgb(19, 16, 18) | |
| CMYK | cmyk(0%, 16%, 5%, 93%) | — | |
| HSV | hsv(320, 16%, 7%) | — | |
| HWB | hwb(320 6% 93%) | color: hwb(320 6% 93%) | |
| OKLCH | oklch(0.1776 0.0063 337.97) | color: oklch(0.1776 0.0063 337.97) | |
| Lab | lab(4.99 1.54 -0.68) | color: lab(4.99 1.54 -0.68) | |
| LCH | lch(4.99 1.68 336.18) | color: lch(4.99 1.68 336.18) |
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)
#121212 — rgb(18, 18, 18)
Deuteranopia (Green-blind)
#121211 — rgb(18, 18, 17)
Tritanopia (Blue-blind)
#131111 — rgb(19, 17, 17)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 8%, 7%);
text
color: hsl(331, 8%, 7%);
border
border: 2px solid hsl(331, 8%, 7%);
gradient light
background: linear-gradient(to right, hsl(331, 8%, 27%), hsl(331, 8%, 7%));
gradient dark
background: linear-gradient(to right, hsl(331, 8%, 7%), hsl(331, 8%, 0%))
hex
background-color: #131012;
tailwind
bg-[hsl(331,8%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 8%, 7%, 0.4);
css variable
--color-primary: hsl(331, 8%, 7%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(331, 8%, 7%)?
HEX: #131012 | RGB: rgb(19, 16, 18) | CMYK: 0%, 16%, 5%, 93% | HSV: 320°, 16%, 7%. Copy any format from the conversion table above.
What colors go well with #131012?
The complementary color is HSL(151, 8%, 7%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(331, 8%, 7%) in CSS?
As HSL: color: hsl(331, 8%, 7%); — As HEX: color: #131012; — As RGB: color: rgb(19, 16, 18); — Tailwind CSS: bg-[hsl(331,8%,7%)] — CSS variable: --color-primary: hsl(331, 8%, 7%);