HSL(277, 68%, 58%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,68%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 68%, 58%) | color: hsl(277, 68%, 58%) | |
| HEX | #A54BDD | color: #A54BDD | |
| RGB | rgb(165, 75, 221) | color: rgb(165, 75, 221) | |
| CMYK | cmyk(25%, 66%, 0%, 13%) | — | |
| HSV | hsv(277, 66%, 87%) | — | |
| HWB | hwb(277 30% 13%) | color: hwb(277 30% 13%) | |
| OKLCH | oklch(0.5939 0.2179 309.63) | color: oklch(0.5939 0.2179 309.63) | |
| Lab | lab(49.8 60.85 -59.39) | color: lab(49.8 60.85 -59.39) | |
| LCH | lch(49.8 85.03 315.7) | color: lch(49.8 85.03 315.7) |
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)
#7E7DBA — rgb(126, 125, 186)
Deuteranopia (Green-blind)
#838AB1 — rgb(131, 138, 177)
Tritanopia (Blue-blind)
#A19E98 — rgb(161, 158, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 68%, 58%);
text
color: hsl(277, 68%, 58%);
border
border: 2px solid hsl(277, 68%, 58%);
gradient light
background: linear-gradient(to right, hsl(277, 68%, 78%), hsl(277, 68%, 58%));
gradient dark
background: linear-gradient(to right, hsl(277, 68%, 58%), hsl(277, 68%, 38%))
hex
background-color: #A54BDD;
tailwind
bg-[hsl(277,68%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 68%, 58%, 0.4);
css variable
--color-primary: hsl(277, 68%, 58%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 68%, 58%)?
HEX: #A54BDD | RGB: rgb(165, 75, 221) | CMYK: 25%, 66%, 0%, 13% | HSV: 277°, 66%, 87%. Copy any format from the conversion table above.
What colors go well with #A54BDD?
The complementary color is HSL(97, 68%, 58%). 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, 68%, 58%) in CSS?
As HSL: color: hsl(277, 68%, 58%); — As HEX: color: #A54BDD; — As RGB: color: rgb(165, 75, 221); — Tailwind CSS: bg-[hsl(277,68%,58%)] — CSS variable: --color-primary: hsl(277, 68%, 58%);