HSL(275, 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(275,100%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(275, 100%, 56%) | color: hsl(275, 100%, 56%) | |
| HEX | #A21FFF | color: #A21FFF | |
| RGB | rgb(162, 31, 255) | color: rgb(162, 31, 255) | |
| CMYK | cmyk(36%, 88%, 0%, 0%) | — | |
| HSV | hsv(275, 88%, 100%) | — | |
| HWB | hwb(275 12% 0%) | color: hwb(275 12% 0%) | |
| OKLCH | oklch(0.5799 0.2873 304.01) | color: oklch(0.5799 0.2873 304.01) | |
| Lab | lab(46.82 82.19 -83.4) | color: lab(46.82 82.19 -83.4) | |
| LCH | lch(46.82 117.09 314.58) | color: lch(46.82 117.09 314.58) |
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)
#6968C9 — rgb(105, 104, 201)
Deuteranopia (Green-blind)
#717BBC — rgb(113, 123, 188)
Tritanopia (Blue-blind)
#9B9E95 — rgb(155, 158, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(275, 100%, 56%);
text
color: hsl(275, 100%, 56%);
border
border: 2px solid hsl(275, 100%, 56%);
gradient light
background: linear-gradient(to right, hsl(275, 100%, 76%), hsl(275, 100%, 56%));
gradient dark
background: linear-gradient(to right, hsl(275, 100%, 56%), hsl(275, 100%, 36%))
hex
background-color: #A21FFF;
tailwind
bg-[hsl(275,100%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(275, 100%, 56%, 0.4);
css variable
--color-primary: hsl(275, 100%, 56%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(275, 100%, 56%)?
HEX: #A21FFF | RGB: rgb(162, 31, 255) | CMYK: 36%, 88%, 0%, 0% | HSV: 275°, 88%, 100%. Copy any format from the conversion table above.
What colors go well with #A21FFF?
The complementary color is HSL(95, 100%, 56%). For a triadic harmony, use hues 275°, 35°, and 155°. For analogous combinations, try hues 245° and 305°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(275, 100%, 56%) in CSS?
As HSL: color: hsl(275, 100%, 56%); — As HEX: color: #A21FFF; — As RGB: color: rgb(162, 31, 255); — Tailwind CSS: bg-[hsl(275,100%,56%)] — CSS variable: --color-primary: hsl(275, 100%, 56%);