HSL(290, 25%, 24%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,25%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 25%, 24%) | color: hsl(290, 25%, 24%) | |
| HEX | #472E4D | color: #472E4D | |
| RGB | rgb(71, 46, 77) | color: rgb(71, 46, 77) | |
| CMYK | cmyk(8%, 40%, 0%, 70%) | — | |
| HSV | hsv(288, 40%, 30%) | — | |
| HWB | hwb(288 18% 70%) | color: hwb(288 18% 70%) | |
| OKLCH | oklch(0.3442 0.0617 319.7) | color: oklch(0.3442 0.0617 319.7) | |
| Lab | lab(23.1 17.74 -14.57) | color: lab(23.1 17.74 -14.57) | |
| LCH | lch(23.1 22.96 320.6) | color: lch(23.1 22.96 320.6) |
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)
#3C3C45 — rgb(60, 60, 69)
Deuteranopia (Green-blind)
#3E4044 — rgb(62, 64, 68)
Tritanopia (Blue-blind)
#46403E — rgb(70, 64, 62)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 25%, 24%);
text
color: hsl(290, 25%, 24%);
border
border: 2px solid hsl(290, 25%, 24%);
gradient light
background: linear-gradient(to right, hsl(290, 25%, 44%), hsl(290, 25%, 24%));
gradient dark
background: linear-gradient(to right, hsl(290, 25%, 24%), hsl(290, 25%, 4%))
hex
background-color: #472E4D;
tailwind
bg-[hsl(290,25%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 25%, 24%, 0.4);
css variable
--color-primary: hsl(290, 25%, 24%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 25%, 24%)?
HEX: #472E4D | RGB: rgb(71, 46, 77) | CMYK: 8%, 40%, 0%, 70% | HSV: 288°, 40%, 30%. Copy any format from the conversion table above.
What colors go well with #472E4D?
The complementary color is HSL(110, 25%, 24%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 25%, 24%) in CSS?
As HSL: color: hsl(290, 25%, 24%); — As HEX: color: #472E4D; — As RGB: color: rgb(71, 46, 77); — Tailwind CSS: bg-[hsl(290,25%,24%)] — CSS variable: --color-primary: hsl(290, 25%, 24%);