HSL(266, 48%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,48%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 48%, 53%) | color: hsl(266, 48%, 53%) | |
| HEX | #7F4EC1 | color: #7F4EC1 | |
| RGB | rgb(127, 78, 193) | color: rgb(127, 78, 193) | |
| CMYK | cmyk(34%, 60%, 0%, 24%) | — | |
| HSV | hsv(266, 60%, 76%) | — | |
| HWB | hwb(266 30% 24%) | color: hwb(266 30% 24%) | |
| OKLCH | oklch(0.5358 0.1738 300.24) | color: oklch(0.5358 0.1738 300.24) | |
| Lab | lab(43.96 44.3 -52.95) | color: lab(43.96 44.3 -52.95) | |
| LCH | lch(43.96 69.04 309.92) | color: lch(43.96 69.04 309.92) |
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)
#6A69A5 — rgb(106, 105, 165)
Deuteranopia (Green-blind)
#6D709F — rgb(109, 112, 159)
Tritanopia (Blue-blind)
#7D8F8A — rgb(125, 143, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 48%, 53%);
text
color: hsl(266, 48%, 53%);
border
border: 2px solid hsl(266, 48%, 53%);
gradient light
background: linear-gradient(to right, hsl(266, 48%, 73%), hsl(266, 48%, 53%));
gradient dark
background: linear-gradient(to right, hsl(266, 48%, 53%), hsl(266, 48%, 33%))
hex
background-color: #7F4EC1;
tailwind
bg-[hsl(266,48%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 48%, 53%, 0.4);
css variable
--color-primary: hsl(266, 48%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 48%, 53%)?
HEX: #7F4EC1 | RGB: rgb(127, 78, 193) | CMYK: 34%, 60%, 0%, 24% | HSV: 266°, 60%, 76%. Copy any format from the conversion table above.
What colors go well with #7F4EC1?
The complementary color is HSL(86, 48%, 53%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 48%, 53%) in CSS?
As HSL: color: hsl(266, 48%, 53%); — As HEX: color: #7F4EC1; — As RGB: color: rgb(127, 78, 193); — Tailwind CSS: bg-[hsl(266,48%,53%)] — CSS variable: --color-primary: hsl(266, 48%, 53%);