HSL(261, 81%, 26%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,81%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 81%, 26%) | color: hsl(261, 81%, 26%) | |
| HEX | #320D78 | color: #320D78 | |
| RGB | rgb(50, 13, 120) | color: rgb(50, 13, 120) | |
| CMYK | cmyk(58%, 89%, 0%, 53%) | — | |
| HSV | hsv(261, 89%, 47%) | — | |
| HWB | hwb(261 5% 53%) | color: hwb(261 5% 53%) | |
| OKLCH | oklch(0.3052 0.1595 288.25) | color: oklch(0.3052 0.1595 288.25) | |
| Lab | lab(17.09 42.79 -52.62) | color: lab(17.09 42.79 -52.62) | |
| LCH | lch(17.09 67.82 309.12) | color: lch(17.09 67.82 309.12) |
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)
#22225E — rgb(34, 34, 94)
Deuteranopia (Green-blind)
#242758 — rgb(36, 39, 88)
Tritanopia (Blue-blind)
#304A45 — rgb(48, 74, 69)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 81%, 26%);
text
color: hsl(261, 81%, 26%);
border
border: 2px solid hsl(261, 81%, 26%);
gradient light
background: linear-gradient(to right, hsl(261, 81%, 46%), hsl(261, 81%, 26%));
gradient dark
background: linear-gradient(to right, hsl(261, 81%, 26%), hsl(261, 81%, 6%))
hex
background-color: #320D78;
tailwind
bg-[hsl(261,81%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 81%, 26%, 0.4);
css variable
--color-primary: hsl(261, 81%, 26%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 81%, 26%)?
HEX: #320D78 | RGB: rgb(50, 13, 120) | CMYK: 58%, 89%, 0%, 53% | HSV: 261°, 89%, 47%. Copy any format from the conversion table above.
What colors go well with #320D78?
The complementary color is HSL(81, 81%, 26%). 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, 81%, 26%) in CSS?
As HSL: color: hsl(261, 81%, 26%); — As HEX: color: #320D78; — As RGB: color: rgb(50, 13, 120); — Tailwind CSS: bg-[hsl(261,81%,26%)] — CSS variable: --color-primary: hsl(261, 81%, 26%);