HSL(280, 80%, 48%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(280,80%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 80%, 48%) | color: hsl(280, 80%, 48%) | |
| HEX | #9B18DC | color: #9B18DC | |
| RGB | rgb(155, 24, 220) | color: rgb(155, 24, 220) | |
| CMYK | cmyk(30%, 89%, 0%, 14%) | — | |
| HSV | hsv(280, 89%, 86%) | — | |
| HWB | hwb(280 9% 14%) | color: hwb(280 9% 14%) | |
| OKLCH | oklch(0.539 0.261 309.49) | color: oklch(0.539 0.261 309.49) | |
| Lab | lab(42.44 75.79 -70.82) | color: lab(42.44 75.79 -70.82) | |
| LCH | lch(42.44 103.73 316.94) | color: lch(42.44 103.73 316.94) |
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)
#6261AD — rgb(98, 97, 173)
Deuteranopia (Green-blind)
#6A74A1 — rgb(106, 116, 161)
Tritanopia (Blue-blind)
#94877F — rgb(148, 135, 127)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 80%, 48%);
text
color: hsl(280, 80%, 48%);
border
border: 2px solid hsl(280, 80%, 48%);
gradient light
background: linear-gradient(to right, hsl(280, 80%, 68%), hsl(280, 80%, 48%));
gradient dark
background: linear-gradient(to right, hsl(280, 80%, 48%), hsl(280, 80%, 28%))
hex
background-color: #9B18DC;
tailwind
bg-[hsl(280,80%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 80%, 48%, 0.4);
css variable
--color-primary: hsl(280, 80%, 48%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 80%, 48%)?
HEX: #9B18DC | RGB: rgb(155, 24, 220) | CMYK: 30%, 89%, 0%, 14% | HSV: 280°, 89%, 86%. Copy any format from the conversion table above.
What colors go well with #9B18DC?
The complementary color is HSL(100, 80%, 48%). 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, 80%, 48%) in CSS?
As HSL: color: hsl(280, 80%, 48%); — As HEX: color: #9B18DC; — As RGB: color: rgb(155, 24, 220); — Tailwind CSS: bg-[hsl(280,80%,48%)] — CSS variable: --color-primary: hsl(280, 80%, 48%);