HSL(261, 20%, 49%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,20%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 20%, 49%) | color: hsl(261, 20%, 49%) | |
| HEX | #756496 | color: #756496 | |
| RGB | rgb(117, 100, 150) | color: rgb(117, 100, 150) | |
| CMYK | cmyk(22%, 33%, 0%, 41%) | — | |
| HSV | hsv(260, 33%, 59%) | — | |
| HWB | hwb(260 40% 41%) | color: hwb(260 40% 41%) | |
| OKLCH | oklch(0.5394 0.0788 299.38) | color: oklch(0.5394 0.0788 299.38) | |
| Lab | lab(45.77 17.65 -24.86) | color: lab(45.77 17.65 -24.86) | |
| LCH | lch(45.77 30.49 305.37) | color: lch(45.77 30.49 305.37) |
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)
#6E6D8A — rgb(110, 109, 138)
Deuteranopia (Green-blind)
#6F7087 — rgb(111, 112, 135)
Tritanopia (Blue-blind)
#74807E — rgb(116, 128, 126)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 20%, 49%);
text
color: hsl(261, 20%, 49%);
border
border: 2px solid hsl(261, 20%, 49%);
gradient light
background: linear-gradient(to right, hsl(261, 20%, 69%), hsl(261, 20%, 49%));
gradient dark
background: linear-gradient(to right, hsl(261, 20%, 49%), hsl(261, 20%, 29%))
hex
background-color: #756496;
tailwind
bg-[hsl(261,20%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 20%, 49%, 0.4);
css variable
--color-primary: hsl(261, 20%, 49%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 20%, 49%)?
HEX: #756496 | RGB: rgb(117, 100, 150) | CMYK: 22%, 33%, 0%, 41% | HSV: 260°, 33%, 59%. Copy any format from the conversion table above.
What colors go well with #756496?
The complementary color is HSL(81, 20%, 49%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 20%, 49%) in CSS?
As HSL: color: hsl(261, 20%, 49%); — As HEX: color: #756496; — As RGB: color: rgb(117, 100, 150); — Tailwind CSS: bg-[hsl(261,20%,49%)] — CSS variable: --color-primary: hsl(261, 20%, 49%);