HSL(296, 85%, 8%)
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(296,85%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 85%, 8%) | color: hsl(296, 85%, 8%) | |
| HEX | #230326 | color: #230326 | |
| RGB | rgb(35, 3, 38) | color: rgb(35, 3, 38) | |
| CMYK | cmyk(8%, 92%, 0%, 85%) | — | |
| HSV | hsv(295, 92%, 15%) | — | |
| HWB | hwb(295 1% 85%) | color: hwb(295 1% 85%) | |
| OKLCH | oklch(0.1881 0.0776 324.44) | color: oklch(0.1881 0.0776 324.44) | |
| Lab | lab(5.08 21.39 -15.39) | color: lab(5.08 21.39 -15.39) | |
| LCH | lch(5.08 26.35 324.27) | color: lch(5.08 26.35 324.27) |
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)
#15151E — rgb(21, 21, 30)
Deuteranopia (Green-blind)
#17191C — rgb(23, 25, 28)
Tritanopia (Blue-blind)
#211715 — rgb(33, 23, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 85%, 8%);
text
color: hsl(296, 85%, 8%);
border
border: 2px solid hsl(296, 85%, 8%);
gradient light
background: linear-gradient(to right, hsl(296, 85%, 28%), hsl(296, 85%, 8%));
gradient dark
background: linear-gradient(to right, hsl(296, 85%, 8%), hsl(296, 85%, 0%))
hex
background-color: #230326;
tailwind
bg-[hsl(296,85%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 85%, 8%, 0.4);
css variable
--color-primary: hsl(296, 85%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 85%, 8%)?
HEX: #230326 | RGB: rgb(35, 3, 38) | CMYK: 8%, 92%, 0%, 85% | HSV: 295°, 92%, 15%. Copy any format from the conversion table above.
What colors go well with #230326?
The complementary color is HSL(116, 85%, 8%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 85%, 8%) in CSS?
As HSL: color: hsl(296, 85%, 8%); — As HEX: color: #230326; — As RGB: color: rgb(35, 3, 38); — Tailwind CSS: bg-[hsl(296,85%,8%)] — CSS variable: --color-primary: hsl(296, 85%, 8%);