HSL(280, 90%, 28%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(280,90%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 90%, 28%) | color: hsl(280, 90%, 28%) | |
| HEX | #5D0788 | color: #5D0788 | |
| RGB | rgb(93, 7, 136) | color: rgb(93, 7, 136) | |
| CMYK | cmyk(32%, 95%, 0%, 47%) | — | |
| HSV | hsv(280, 95%, 53%) | — | |
| HWB | hwb(280 3% 47%) | color: hwb(280 3% 47%) | |
| OKLCH | oklch(0.3741 0.1844 308.96) | color: oklch(0.3741 0.1844 308.96) | |
| Lab | lab(24.5 53.59 -50.36) | color: lab(24.5 53.59 -50.36) | |
| LCH | lch(24.5 73.54 316.78) | color: lch(24.5 73.54 316.78) |
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)
#383769 — rgb(56, 55, 105)
Deuteranopia (Green-blind)
#3D4361 — rgb(61, 67, 97)
Tritanopia (Blue-blind)
#59504B — rgb(89, 80, 75)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 90%, 28%);
text
color: hsl(280, 90%, 28%);
border
border: 2px solid hsl(280, 90%, 28%);
gradient light
background: linear-gradient(to right, hsl(280, 90%, 48%), hsl(280, 90%, 28%));
gradient dark
background: linear-gradient(to right, hsl(280, 90%, 28%), hsl(280, 90%, 8%))
hex
background-color: #5D0788;
tailwind
bg-[hsl(280,90%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 90%, 28%, 0.4);
css variable
--color-primary: hsl(280, 90%, 28%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 90%, 28%)?
HEX: #5D0788 | RGB: rgb(93, 7, 136) | CMYK: 32%, 95%, 0%, 47% | HSV: 280°, 95%, 53%. Copy any format from the conversion table above.
What colors go well with #5D0788?
The complementary color is HSL(100, 90%, 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, 90%, 28%) in CSS?
As HSL: color: hsl(280, 90%, 28%); — As HEX: color: #5D0788; — As RGB: color: rgb(93, 7, 136); — Tailwind CSS: bg-[hsl(280,90%,28%)] — CSS variable: --color-primary: hsl(280, 90%, 28%);