HSL(295, 52%, 40%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,52%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 52%, 40%) | color: hsl(295, 52%, 40%) | |
| HEX | #92319B | color: #92319B | |
| RGB | rgb(146, 49, 155) | color: rgb(146, 49, 155) | |
| CMYK | cmyk(6%, 68%, 0%, 39%) | — | |
| HSV | hsv(295, 68%, 61%) | — | |
| HWB | hwb(295 20% 39%) | color: hwb(295 20% 39%) | |
| OKLCH | oklch(0.4979 0.1818 324.25) | color: oklch(0.4979 0.1818 324.25) | |
| Lab | lab(39.03 54.49 -38.19) | color: lab(39.03 54.49 -38.19) | |
| LCH | lch(39.03 66.54 324.97) | color: lch(39.03 66.54 324.97) |
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)
#686781 — rgb(104, 103, 129)
Deuteranopia (Green-blind)
#6E757B — rgb(110, 117, 123)
Tritanopia (Blue-blind)
#8D6D69 — rgb(141, 109, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 52%, 40%);
text
color: hsl(295, 52%, 40%);
border
border: 2px solid hsl(295, 52%, 40%);
gradient light
background: linear-gradient(to right, hsl(295, 52%, 60%), hsl(295, 52%, 40%));
gradient dark
background: linear-gradient(to right, hsl(295, 52%, 40%), hsl(295, 52%, 20%))
hex
background-color: #92319B;
tailwind
bg-[hsl(295,52%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 52%, 40%, 0.4);
css variable
--color-primary: hsl(295, 52%, 40%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 52%, 40%)?
HEX: #92319B | RGB: rgb(146, 49, 155) | CMYK: 6%, 68%, 0%, 39% | HSV: 295°, 68%, 61%. Copy any format from the conversion table above.
What colors go well with #92319B?
The complementary color is HSL(115, 52%, 40%). 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, 52%, 40%) in CSS?
As HSL: color: hsl(295, 52%, 40%); — As HEX: color: #92319B; — As RGB: color: rgb(146, 49, 155); — Tailwind CSS: bg-[hsl(295,52%,40%)] — CSS variable: --color-primary: hsl(295, 52%, 40%);