HSL(304, 41%, 28%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,41%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 41%, 28%) | color: hsl(304, 41%, 28%) | |
| HEX | #652A61 | color: #652A61 | |
| RGB | rgb(101, 42, 97) | color: rgb(101, 42, 97) | |
| CMYK | cmyk(0%, 58%, 4%, 60%) | — | |
| HSV | hsv(304, 58%, 40%) | — | |
| HWB | hwb(304 17% 60%) | color: hwb(304 17% 60%) | |
| OKLCH | oklch(0.3897 0.113 330.15) | color: oklch(0.3897 0.113 330.15) | |
| Lab | lab(27.54 34.64 -20.53) | color: lab(27.54 34.64 -20.53) | |
| LCH | lch(27.54 40.27 329.35) | color: lch(27.54 40.27 329.35) |
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)
#4B4B54 — rgb(75, 75, 84)
Deuteranopia (Green-blind)
#4F5351 — rgb(79, 83, 81)
Tritanopia (Blue-blind)
#624947 — rgb(98, 73, 71)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 41%, 28%);
text
color: hsl(304, 41%, 28%);
border
border: 2px solid hsl(304, 41%, 28%);
gradient light
background: linear-gradient(to right, hsl(304, 41%, 48%), hsl(304, 41%, 28%));
gradient dark
background: linear-gradient(to right, hsl(304, 41%, 28%), hsl(304, 41%, 8%))
hex
background-color: #652A61;
tailwind
bg-[hsl(304,41%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 41%, 28%, 0.4);
css variable
--color-primary: hsl(304, 41%, 28%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 41%, 28%)?
HEX: #652A61 | RGB: rgb(101, 42, 97) | CMYK: 0%, 58%, 4%, 60% | HSV: 304°, 58%, 40%. Copy any format from the conversion table above.
What colors go well with #652A61?
The complementary color is HSL(124, 41%, 28%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 41%, 28%) in CSS?
As HSL: color: hsl(304, 41%, 28%); — As HEX: color: #652A61; — As RGB: color: rgb(101, 42, 97); — Tailwind CSS: bg-[hsl(304,41%,28%)] — CSS variable: --color-primary: hsl(304, 41%, 28%);