HSL(276, 100%, 56%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,100%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 100%, 56%) | color: hsl(276, 100%, 56%) | |
| HEX | #A51FFF | color: #A51FFF | |
| RGB | rgb(165, 31, 255) | color: rgb(165, 31, 255) | |
| CMYK | cmyk(35%, 88%, 0%, 0%) | — | |
| HSV | hsv(276, 88%, 100%) | — | |
| HWB | hwb(276 12% 0%) | color: hwb(276 12% 0%) | |
| OKLCH | oklch(0.5837 0.2879 304.93) | color: oklch(0.5837 0.2879 304.93) | |
| Lab | lab(47.24 82.55 -82.7) | color: lab(47.24 82.55 -82.7) | |
| LCH | lch(47.24 116.85 314.95) | color: lch(47.24 116.85 314.95) |
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)
#6B6AC9 — rgb(107, 106, 201)
Deuteranopia (Green-blind)
#737DBC — rgb(115, 125, 188)
Tritanopia (Blue-blind)
#9E9E95 — rgb(158, 158, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 100%, 56%);
text
color: hsl(276, 100%, 56%);
border
border: 2px solid hsl(276, 100%, 56%);
gradient light
background: linear-gradient(to right, hsl(276, 100%, 76%), hsl(276, 100%, 56%));
gradient dark
background: linear-gradient(to right, hsl(276, 100%, 56%), hsl(276, 100%, 36%))
hex
background-color: #A51FFF;
tailwind
bg-[hsl(276,100%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 100%, 56%, 0.4);
css variable
--color-primary: hsl(276, 100%, 56%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 100%, 56%)?
HEX: #A51FFF | RGB: rgb(165, 31, 255) | CMYK: 35%, 88%, 0%, 0% | HSV: 276°, 88%, 100%. Copy any format from the conversion table above.
What colors go well with #A51FFF?
The complementary color is HSL(96, 100%, 56%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 100%, 56%) in CSS?
As HSL: color: hsl(276, 100%, 56%); — As HEX: color: #A51FFF; — As RGB: color: rgb(165, 31, 255); — Tailwind CSS: bg-[hsl(276,100%,56%)] — CSS variable: --color-primary: hsl(276, 100%, 56%);