HSL(280, 70%, 28%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(280,70%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 70%, 28%) | color: hsl(280, 70%, 28%) | |
| HEX | #581579 | color: #581579 | |
| RGB | rgb(88, 21, 121) | color: rgb(88, 21, 121) | |
| CMYK | cmyk(27%, 83%, 0%, 53%) | — | |
| HSV | hsv(280, 83%, 47%) | — | |
| HWB | hwb(280 8% 53%) | color: hwb(280 8% 53%) | |
| OKLCH | oklch(0.3625 0.1593 311.14) | color: oklch(0.3625 0.1593 311.14) | |
| Lab | lab(23.64 45.87 -42.32) | color: lab(23.64 45.87 -42.32) | |
| LCH | lch(23.64 62.41 317.31) | color: lch(23.64 62.41 317.31) |
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)
#3B3A61 — rgb(59, 58, 97)
Deuteranopia (Green-blind)
#3F445B — rgb(63, 68, 91)
Tritanopia (Blue-blind)
#554E4A — rgb(85, 78, 74)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 70%, 28%);
text
color: hsl(280, 70%, 28%);
border
border: 2px solid hsl(280, 70%, 28%);
gradient light
background: linear-gradient(to right, hsl(280, 70%, 48%), hsl(280, 70%, 28%));
gradient dark
background: linear-gradient(to right, hsl(280, 70%, 28%), hsl(280, 70%, 8%))
hex
background-color: #581579;
tailwind
bg-[hsl(280,70%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 70%, 28%, 0.4);
css variable
--color-primary: hsl(280, 70%, 28%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 70%, 28%)?
HEX: #581579 | RGB: rgb(88, 21, 121) | CMYK: 27%, 83%, 0%, 53% | HSV: 280°, 83%, 47%. Copy any format from the conversion table above.
What colors go well with #581579?
The complementary color is HSL(100, 70%, 28%). For a triadic harmony, use hues 280°, 40°, and 160°. For analogous combinations, try hues 250° and 310°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(280, 70%, 28%) in CSS?
As HSL: color: hsl(280, 70%, 28%); — As HEX: color: #581579; — As RGB: color: rgb(88, 21, 121); — Tailwind CSS: bg-[hsl(280,70%,28%)] — CSS variable: --color-primary: hsl(280, 70%, 28%);