HSL(310, 25%, 23%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,25%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 25%, 23%) | color: hsl(310, 25%, 23%) | |
| HEX | #492C44 | color: #492C44 | |
| RGB | rgb(73, 44, 68) | color: rgb(73, 44, 68) | |
| CMYK | cmyk(0%, 40%, 7%, 71%) | — | |
| HSV | hsv(310, 40%, 29%) | — | |
| HWB | hwb(310 17% 71%) | color: hwb(310 17% 71%) | |
| OKLCH | oklch(0.3383 0.0568 333.17) | color: oklch(0.3383 0.0568 333.17) | |
| Lab | lab(22.43 17.78 -9.52) | color: lab(22.43 17.78 -9.52) | |
| LCH | lch(22.43 20.17 331.83) | color: lch(22.43 20.17 331.83) |
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)
#3C3C3E — rgb(60, 60, 62)
Deuteranopia (Green-blind)
#3E403D — rgb(62, 64, 61)
Tritanopia (Blue-blind)
#483A39 — rgb(72, 58, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 25%, 23%);
text
color: hsl(310, 25%, 23%);
border
border: 2px solid hsl(310, 25%, 23%);
gradient light
background: linear-gradient(to right, hsl(310, 25%, 43%), hsl(310, 25%, 23%));
gradient dark
background: linear-gradient(to right, hsl(310, 25%, 23%), hsl(310, 25%, 3%))
hex
background-color: #492C44;
tailwind
bg-[hsl(310,25%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 25%, 23%, 0.4);
css variable
--color-primary: hsl(310, 25%, 23%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 25%, 23%)?
HEX: #492C44 | RGB: rgb(73, 44, 68) | CMYK: 0%, 40%, 7%, 71% | HSV: 310°, 40%, 29%. Copy any format from the conversion table above.
What colors go well with #492C44?
The complementary color is HSL(130, 25%, 23%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 25%, 23%) in CSS?
As HSL: color: hsl(310, 25%, 23%); — As HEX: color: #492C44; — As RGB: color: rgb(73, 44, 68); — Tailwind CSS: bg-[hsl(310,25%,23%)] — CSS variable: --color-primary: hsl(310, 25%, 23%);