HSL(304, 79%, 37%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,79%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 79%, 37%) | color: hsl(304, 79%, 37%) | |
| HEX | #A9149F | color: #A9149F | |
| RGB | rgb(169, 20, 159) | color: rgb(169, 20, 159) | |
| CMYK | cmyk(0%, 88%, 6%, 34%) | — | |
| HSV | hsv(304, 88%, 66%) | — | |
| HWB | hwb(304 8% 34%) | color: hwb(304 8% 34%) | |
| OKLCH | oklch(0.5153 0.2223 331.57) | color: oklch(0.5153 0.2223 331.57) | |
| Lab | lab(40.31 68.26 -38.33) | color: lab(40.31 68.26 -38.33) | |
| LCH | lch(40.31 78.29 330.68) | color: lch(40.31 78.29 330.68) |
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)
#68677D — rgb(104, 103, 125)
Deuteranopia (Green-blind)
#717C75 — rgb(113, 124, 117)
Tritanopia (Blue-blind)
#A2635D — rgb(162, 99, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 79%, 37%);
text
color: hsl(304, 79%, 37%);
border
border: 2px solid hsl(304, 79%, 37%);
gradient light
background: linear-gradient(to right, hsl(304, 79%, 57%), hsl(304, 79%, 37%));
gradient dark
background: linear-gradient(to right, hsl(304, 79%, 37%), hsl(304, 79%, 17%))
hex
background-color: #A9149F;
tailwind
bg-[hsl(304,79%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 79%, 37%, 0.4);
css variable
--color-primary: hsl(304, 79%, 37%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 79%, 37%)?
HEX: #A9149F | RGB: rgb(169, 20, 159) | CMYK: 0%, 88%, 6%, 34% | HSV: 304°, 88%, 66%. Copy any format from the conversion table above.
What colors go well with #A9149F?
The complementary color is HSL(124, 79%, 37%). 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, 79%, 37%) in CSS?
As HSL: color: hsl(304, 79%, 37%); — As HEX: color: #A9149F; — As RGB: color: rgb(169, 20, 159); — Tailwind CSS: bg-[hsl(304,79%,37%)] — CSS variable: --color-primary: hsl(304, 79%, 37%);