HSL(296, 64%, 15%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,64%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 64%, 15%) | color: hsl(296, 64%, 15%) | |
| HEX | #3B0E3F | color: #3B0E3F | |
| RGB | rgb(59, 14, 63) | color: rgb(59, 14, 63) | |
| CMYK | cmyk(6%, 78%, 0%, 75%) | — | |
| HSV | hsv(295, 78%, 25%) | — | |
| HWB | hwb(295 6% 75%) | color: hwb(295 6% 75%) | |
| OKLCH | oklch(0.2649 0.098 324.4) | color: oklch(0.2649 0.098 324.4) | |
| Lab | lab(13.25 29.41 -20.52) | color: lab(13.25 29.41 -20.52) | |
| LCH | lch(13.25 35.86 325.1) | color: lch(13.25 35.86 325.1) |
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)
#282733 — rgb(40, 39, 51)
Deuteranopia (Green-blind)
#2A2E30 — rgb(42, 46, 48)
Tritanopia (Blue-blind)
#392A28 — rgb(57, 42, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 64%, 15%);
text
color: hsl(296, 64%, 15%);
border
border: 2px solid hsl(296, 64%, 15%);
gradient light
background: linear-gradient(to right, hsl(296, 64%, 35%), hsl(296, 64%, 15%));
gradient dark
background: linear-gradient(to right, hsl(296, 64%, 15%), hsl(296, 64%, 0%))
hex
background-color: #3B0E3F;
tailwind
bg-[hsl(296,64%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 64%, 15%, 0.4);
css variable
--color-primary: hsl(296, 64%, 15%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 64%, 15%)?
HEX: #3B0E3F | RGB: rgb(59, 14, 63) | CMYK: 6%, 78%, 0%, 75% | HSV: 295°, 78%, 25%. Copy any format from the conversion table above.
What colors go well with #3B0E3F?
The complementary color is HSL(116, 64%, 15%). 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, 64%, 15%) in CSS?
As HSL: color: hsl(296, 64%, 15%); — As HEX: color: #3B0E3F; — As RGB: color: rgb(59, 14, 63); — Tailwind CSS: bg-[hsl(296,64%,15%)] — CSS variable: --color-primary: hsl(296, 64%, 15%);