HSL(277, 28%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,28%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 28%, 60%) | color: hsl(277, 28%, 60%) | |
| HEX | #A07CB6 | color: #A07CB6 | |
| RGB | rgb(160, 124, 182) | color: rgb(160, 124, 182) | |
| CMYK | cmyk(12%, 32%, 0%, 29%) | — | |
| HSV | hsv(277, 32%, 71%) | — | |
| HWB | hwb(277 48% 29%) | color: hwb(277 48% 29%) | |
| OKLCH | oklch(0.642 0.0935 312.15) | color: oklch(0.642 0.0935 312.15) | |
| Lab | lab(57.33 24.89 -25.28) | color: lab(57.33 24.89 -25.28) | |
| LCH | lch(57.33 35.48 314.55) | color: lch(57.33 35.48 314.55) |
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)
#9090A8 — rgb(144, 144, 168)
Deuteranopia (Green-blind)
#9395A5 — rgb(147, 149, 165)
Tritanopia (Blue-blind)
#9E9D9A — rgb(158, 157, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 28%, 60%);
text
color: hsl(277, 28%, 60%);
border
border: 2px solid hsl(277, 28%, 60%);
gradient light
background: linear-gradient(to right, hsl(277, 28%, 80%), hsl(277, 28%, 60%));
gradient dark
background: linear-gradient(to right, hsl(277, 28%, 60%), hsl(277, 28%, 40%))
hex
background-color: #A07CB6;
tailwind
bg-[hsl(277,28%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 28%, 60%, 0.4);
css variable
--color-primary: hsl(277, 28%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 28%, 60%)?
HEX: #A07CB6 | RGB: rgb(160, 124, 182) | CMYK: 12%, 32%, 0%, 29% | HSV: 277°, 32%, 71%. Copy any format from the conversion table above.
What colors go well with #A07CB6?
The complementary color is HSL(97, 28%, 60%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 28%, 60%) in CSS?
As HSL: color: hsl(277, 28%, 60%); — As HEX: color: #A07CB6; — As RGB: color: rgb(160, 124, 182); — Tailwind CSS: bg-[hsl(277,28%,60%)] — CSS variable: --color-primary: hsl(277, 28%, 60%);