HSL(313, 33%, 9%)
Very Dark Purple — Purple color
Adjust Color
Color Information
Color Name
Very Dark Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(313,33%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(313, 33%, 9%) | color: hsl(313, 33%, 9%) | |
| HEX | #1F0F1B | color: #1F0F1B | |
| RGB | rgb(31, 15, 27) | color: rgb(31, 15, 27) | |
| CMYK | cmyk(0%, 52%, 13%, 88%) | — | |
| HSV | hsv(315, 52%, 12%) | — | |
| HWB | hwb(315 6% 88%) | color: hwb(315 6% 88%) | |
| OKLCH | oklch(0.1967 0.0343 336.59) | color: oklch(0.1967 0.0343 336.59) | |
| Lab | lab(6.43 10.39 -4.88) | color: lab(6.43 10.39 -4.88) | |
| LCH | lch(6.43 11.48 334.84) | color: lch(6.43 11.48 334.84) |
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)
#181818 — rgb(24, 24, 24)
Deuteranopia (Green-blind)
#191A17 — rgb(25, 26, 23)
Tritanopia (Blue-blind)
#1E1615 — rgb(30, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(313, 33%, 9%);
text
color: hsl(313, 33%, 9%);
border
border: 2px solid hsl(313, 33%, 9%);
gradient light
background: linear-gradient(to right, hsl(313, 33%, 29%), hsl(313, 33%, 9%));
gradient dark
background: linear-gradient(to right, hsl(313, 33%, 9%), hsl(313, 33%, 0%))
hex
background-color: #1F0F1B;
tailwind
bg-[hsl(313,33%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(313, 33%, 9%, 0.4);
css variable
--color-primary: hsl(313, 33%, 9%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(313, 33%, 9%)?
HEX: #1F0F1B | RGB: rgb(31, 15, 27) | CMYK: 0%, 52%, 13%, 88% | HSV: 315°, 52%, 12%. Copy any format from the conversion table above.
What colors go well with #1F0F1B?
The complementary color is HSL(133, 33%, 9%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(313, 33%, 9%) in CSS?
As HSL: color: hsl(313, 33%, 9%); — As HEX: color: #1F0F1B; — As RGB: color: rgb(31, 15, 27); — Tailwind CSS: bg-[hsl(313,33%,9%)] — CSS variable: --color-primary: hsl(313, 33%, 9%);