HSL(287, 60%, 28%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,60%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 60%, 28%) | color: hsl(287, 60%, 28%) | |
| HEX | #601D72 | color: #601D72 | |
| RGB | rgb(96, 29, 114) | color: rgb(96, 29, 114) | |
| CMYK | cmyk(16%, 75%, 0%, 55%) | — | |
| HSV | hsv(287, 75%, 45%) | — | |
| HWB | hwb(287 11% 55%) | color: hwb(287 11% 55%) | |
| OKLCH | oklch(0.3767 0.1465 318.2) | color: oklch(0.3767 0.1465 318.2) | |
| Lab | lab(25.51 42.93 -34.77) | color: lab(25.51 42.93 -34.77) | |
| LCH | lch(25.51 55.24 321) | color: lch(25.51 55.24 321) |
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)
#43425D — rgb(67, 66, 93)
Deuteranopia (Green-blind)
#474C59 — rgb(71, 76, 89)
Tritanopia (Blue-blind)
#5D4D4A — rgb(93, 77, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 60%, 28%);
text
color: hsl(287, 60%, 28%);
border
border: 2px solid hsl(287, 60%, 28%);
gradient light
background: linear-gradient(to right, hsl(287, 60%, 48%), hsl(287, 60%, 28%));
gradient dark
background: linear-gradient(to right, hsl(287, 60%, 28%), hsl(287, 60%, 8%))
hex
background-color: #601D72;
tailwind
bg-[hsl(287,60%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 60%, 28%, 0.4);
css variable
--color-primary: hsl(287, 60%, 28%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 60%, 28%)?
HEX: #601D72 | RGB: rgb(96, 29, 114) | CMYK: 16%, 75%, 0%, 55% | HSV: 287°, 75%, 45%. Copy any format from the conversion table above.
What colors go well with #601D72?
The complementary color is HSL(107, 60%, 28%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 60%, 28%) in CSS?
As HSL: color: hsl(287, 60%, 28%); — As HEX: color: #601D72; — As RGB: color: rgb(96, 29, 114); — Tailwind CSS: bg-[hsl(287,60%,28%)] — CSS variable: --color-primary: hsl(287, 60%, 28%);