HSL(278, 56%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,56%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 56%, 56%) | color: hsl(278, 56%, 56%) | |
| HEX | #A050CE | color: #A050CE | |
| RGB | rgb(160, 80, 206) | color: rgb(160, 80, 206) | |
| CMYK | cmyk(22%, 61%, 0%, 19%) | — | |
| HSV | hsv(278, 61%, 81%) | — | |
| HWB | hwb(278 32% 19%) | color: hwb(278 32% 19%) | |
| OKLCH | oklch(0.5844 0.1942 311.09) | color: oklch(0.5844 0.1942 311.09) | |
| Lab | lab(49.09 54.12 -52.01) | color: lab(49.09 54.12 -52.01) | |
| LCH | lch(49.09 75.06 316.14) | color: lch(49.09 75.06 316.14) |
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)
#7D7DB0 — rgb(125, 125, 176)
Deuteranopia (Green-blind)
#8288A8 — rgb(130, 136, 168)
Tritanopia (Blue-blind)
#9C9792 — rgb(156, 151, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 56%, 56%);
text
color: hsl(278, 56%, 56%);
border
border: 2px solid hsl(278, 56%, 56%);
gradient light
background: linear-gradient(to right, hsl(278, 56%, 76%), hsl(278, 56%, 56%));
gradient dark
background: linear-gradient(to right, hsl(278, 56%, 56%), hsl(278, 56%, 36%))
hex
background-color: #A050CE;
tailwind
bg-[hsl(278,56%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 56%, 56%, 0.4);
css variable
--color-primary: hsl(278, 56%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 56%, 56%)?
HEX: #A050CE | RGB: rgb(160, 80, 206) | CMYK: 22%, 61%, 0%, 19% | HSV: 278°, 61%, 81%. Copy any format from the conversion table above.
What colors go well with #A050CE?
The complementary color is HSL(98, 56%, 56%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 56%, 56%) in CSS?
As HSL: color: hsl(278, 56%, 56%); — As HEX: color: #A050CE; — As RGB: color: rgb(160, 80, 206); — Tailwind CSS: bg-[hsl(278,56%,56%)] — CSS variable: --color-primary: hsl(278, 56%, 56%);