HSL(280, 92%, 61%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(280,92%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(280, 92%, 61%) | color: hsl(280, 92%, 61%) | |
| HEX | #BA40F7 | color: #BA40F7 | |
| RGB | rgb(186, 64, 247) | color: rgb(186, 64, 247) | |
| CMYK | cmyk(25%, 74%, 0%, 3%) | — | |
| HSV | hsv(280, 74%, 97%) | — | |
| HWB | hwb(280 25% 3%) | color: hwb(280 25% 3%) | |
| OKLCH | oklch(0.6262 0.2611 311.45) | color: oklch(0.6262 0.2611 311.45) | |
| Lab | lab(52.75 74.77 -69.12) | color: lab(52.75 74.77 -69.12) | |
| LCH | lch(52.75 101.82 317.25) | color: lch(52.75 101.82 317.25) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8584CB — rgb(133, 132, 203)
Deuteranopia (Green-blind)
#8C95C0 — rgb(140, 149, 192)
Tritanopia (Blue-blind)
#B4A8A0 — rgb(180, 168, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(280, 92%, 61%);
text
color: hsl(280, 92%, 61%);
border
border: 2px solid hsl(280, 92%, 61%);
gradient light
background: linear-gradient(to right, hsl(280, 92%, 81%), hsl(280, 92%, 61%));
gradient dark
background: linear-gradient(to right, hsl(280, 92%, 61%), hsl(280, 92%, 41%))
hex
background-color: #BA40F7;
tailwind
bg-[hsl(280,92%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(280, 92%, 61%, 0.4);
css variable
--color-primary: hsl(280, 92%, 61%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(280, 92%, 61%)?
HEX: #BA40F7 | RGB: rgb(186, 64, 247) | CMYK: 25%, 74%, 0%, 3% | HSV: 280°, 74%, 97%. Copy any format from the conversion table above.
What colors go well with #BA40F7?
The complementary color is HSL(100, 92%, 61%). 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, 92%, 61%) in CSS?
As HSL: color: hsl(280, 92%, 61%); — As HEX: color: #BA40F7; — As RGB: color: rgb(186, 64, 247); — Tailwind CSS: bg-[hsl(280,92%,61%)] — CSS variable: --color-primary: hsl(280, 92%, 61%);