HSL(278, 80%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,80%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 80%, 55%) | color: hsl(278, 80%, 55%) | |
| HEX | #A530E8 | color: #A530E8 | |
| RGB | rgb(165, 48, 232) | color: rgb(165, 48, 232) | |
| CMYK | cmyk(29%, 79%, 0%, 9%) | — | |
| HSV | hsv(278, 79%, 91%) | — | |
| HWB | hwb(278 19% 9%) | color: hwb(278 19% 9%) | |
| OKLCH | oklch(0.5757 0.2572 309.01) | color: oklch(0.5757 0.2572 309.01) | |
| Lab | lab(46.9 73.58 -70.33) | color: lab(46.9 73.58 -70.33) | |
| LCH | lch(46.9 101.79 316.29) | color: lch(46.9 101.79 316.29) |
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)
#7271BB — rgb(114, 113, 187)
Deuteranopia (Green-blind)
#7982B1 — rgb(121, 130, 177)
Tritanopia (Blue-blind)
#9F9891 — rgb(159, 152, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 80%, 55%);
text
color: hsl(278, 80%, 55%);
border
border: 2px solid hsl(278, 80%, 55%);
gradient light
background: linear-gradient(to right, hsl(278, 80%, 75%), hsl(278, 80%, 55%));
gradient dark
background: linear-gradient(to right, hsl(278, 80%, 55%), hsl(278, 80%, 35%))
hex
background-color: #A530E8;
tailwind
bg-[hsl(278,80%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 80%, 55%, 0.4);
css variable
--color-primary: hsl(278, 80%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 80%, 55%)?
HEX: #A530E8 | RGB: rgb(165, 48, 232) | CMYK: 29%, 79%, 0%, 9% | HSV: 278°, 79%, 91%. Copy any format from the conversion table above.
What colors go well with #A530E8?
The complementary color is HSL(98, 80%, 55%). 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, 80%, 55%) in CSS?
As HSL: color: hsl(278, 80%, 55%); — As HEX: color: #A530E8; — As RGB: color: rgb(165, 48, 232); — Tailwind CSS: bg-[hsl(278,80%,55%)] — CSS variable: --color-primary: hsl(278, 80%, 55%);