HSL(295, 25%, 10%)
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(295,25%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 25%, 10%) | color: hsl(295, 25%, 10%) | |
| HEX | #1F1320 | color: #1F1320 | |
| RGB | rgb(31, 19, 32) | color: rgb(31, 19, 32) | |
| CMYK | cmyk(3%, 41%, 0%, 87%) | — | |
| HSV | hsv(295, 41%, 13%) | — | |
| HWB | hwb(295 8% 87%) | color: hwb(295 8% 87%) | |
| OKLCH | oklch(0.2086 0.0309 323.99) | color: oklch(0.2086 0.0309 323.99) | |
| Lab | lab(7.78 9.16 -6.69) | color: lab(7.78 9.16 -6.69) | |
| LCH | lch(7.78 11.34 323.86) | color: lch(7.78 11.34 323.86) |
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)
#1A1A1D — rgb(26, 26, 29)
Deuteranopia (Green-blind)
#1B1B1C — rgb(27, 27, 28)
Tritanopia (Blue-blind)
#1E1A1A — rgb(30, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 25%, 10%);
text
color: hsl(295, 25%, 10%);
border
border: 2px solid hsl(295, 25%, 10%);
gradient light
background: linear-gradient(to right, hsl(295, 25%, 30%), hsl(295, 25%, 10%));
gradient dark
background: linear-gradient(to right, hsl(295, 25%, 10%), hsl(295, 25%, 0%))
hex
background-color: #1F1320;
tailwind
bg-[hsl(295,25%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 25%, 10%, 0.4);
css variable
--color-primary: hsl(295, 25%, 10%);
Related Colors
Use Cases for Very Dark Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 25%, 10%)?
HEX: #1F1320 | RGB: rgb(31, 19, 32) | CMYK: 3%, 41%, 0%, 87% | HSV: 295°, 41%, 13%. Copy any format from the conversion table above.
What colors go well with #1F1320?
The complementary color is HSL(115, 25%, 10%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 25%, 10%) in CSS?
As HSL: color: hsl(295, 25%, 10%); — As HEX: color: #1F1320; — As RGB: color: rgb(31, 19, 32); — Tailwind CSS: bg-[hsl(295,25%,10%)] — CSS variable: --color-primary: hsl(295, 25%, 10%);