HSL(311, 85%, 8%)
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(311,85%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 85%, 8%) | color: hsl(311, 85%, 8%) | |
| HEX | #26031F | color: #26031F | |
| RGB | rgb(38, 3, 31) | color: rgb(38, 3, 31) | |
| CMYK | cmyk(0%, 92%, 18%, 85%) | — | |
| HSV | hsv(312, 92%, 15%) | — | |
| HWB | hwb(312 1% 85%) | color: hwb(312 1% 85%) | |
| OKLCH | oklch(0.189 0.0728 337.03) | color: oklch(0.189 0.0728 337.03) | |
| Lab | lab(5.2 20.98 -9.73) | color: lab(5.2 20.98 -9.73) | |
| LCH | lch(5.2 23.13 335.12) | color: lch(5.2 23.13 335.12) |
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)
#171718 — rgb(23, 23, 24)
Deuteranopia (Green-blind)
#191C17 — rgb(25, 28, 23)
Tritanopia (Blue-blind)
#241312 — rgb(36, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 85%, 8%);
text
color: hsl(311, 85%, 8%);
border
border: 2px solid hsl(311, 85%, 8%);
gradient light
background: linear-gradient(to right, hsl(311, 85%, 28%), hsl(311, 85%, 8%));
gradient dark
background: linear-gradient(to right, hsl(311, 85%, 8%), hsl(311, 85%, 0%))
hex
background-color: #26031F;
tailwind
bg-[hsl(311,85%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 85%, 8%, 0.4);
css variable
--color-primary: hsl(311, 85%, 8%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 85%, 8%)?
HEX: #26031F | RGB: rgb(38, 3, 31) | CMYK: 0%, 92%, 18%, 85% | HSV: 312°, 92%, 15%. Copy any format from the conversion table above.
What colors go well with #26031F?
The complementary color is HSL(131, 85%, 8%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 85%, 8%) in CSS?
As HSL: color: hsl(311, 85%, 8%); — As HEX: color: #26031F; — As RGB: color: rgb(38, 3, 31); — Tailwind CSS: bg-[hsl(311,85%,8%)] — CSS variable: --color-primary: hsl(311, 85%, 8%);