HSL(307, 51%, 25%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,51%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 51%, 25%) | color: hsl(307, 51%, 25%) | |
| HEX | #601F59 | color: #601F59 | |
| RGB | rgb(96, 31, 89) | color: rgb(96, 31, 89) | |
| CMYK | cmyk(0%, 68%, 7%, 62%) | — | |
| HSV | hsv(306, 68%, 38%) | — | |
| HWB | hwb(306 12% 62%) | color: hwb(306 12% 62%) | |
| OKLCH | oklch(0.3629 0.1202 332.26) | color: oklch(0.3629 0.1202 332.26) | |
| Lab | lab(24.29 37.1 -20.42) | color: lab(24.29 37.1 -20.42) | |
| LCH | lch(24.29 42.35 331.17) | color: lch(24.29 42.35 331.17) |
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)
#44434B — rgb(68, 67, 75)
Deuteranopia (Green-blind)
#484D48 — rgb(72, 77, 72)
Tritanopia (Blue-blind)
#5D403D — rgb(93, 64, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 51%, 25%);
text
color: hsl(307, 51%, 25%);
border
border: 2px solid hsl(307, 51%, 25%);
gradient light
background: linear-gradient(to right, hsl(307, 51%, 45%), hsl(307, 51%, 25%));
gradient dark
background: linear-gradient(to right, hsl(307, 51%, 25%), hsl(307, 51%, 5%))
hex
background-color: #601F59;
tailwind
bg-[hsl(307,51%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 51%, 25%, 0.4);
css variable
--color-primary: hsl(307, 51%, 25%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 51%, 25%)?
HEX: #601F59 | RGB: rgb(96, 31, 89) | CMYK: 0%, 68%, 7%, 62% | HSV: 306°, 68%, 38%. Copy any format from the conversion table above.
What colors go well with #601F59?
The complementary color is HSL(127, 51%, 25%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 51%, 25%) in CSS?
As HSL: color: hsl(307, 51%, 25%); — As HEX: color: #601F59; — As RGB: color: rgb(96, 31, 89); — Tailwind CSS: bg-[hsl(307,51%,25%)] — CSS variable: --color-primary: hsl(307, 51%, 25%);