HSL(260, 63%, 45%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,63%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 63%, 45%) | color: hsl(260, 63%, 45%) | |
| HEX | #5B2ABB | color: #5B2ABB | |
| RGB | rgb(91, 42, 187) | color: rgb(91, 42, 187) | |
| CMYK | cmyk(51%, 78%, 0%, 27%) | — | |
| HSV | hsv(260, 78%, 73%) | — | |
| HWB | hwb(260 16% 27%) | color: hwb(260 16% 27%) | |
| OKLCH | oklch(0.4456 0.208 290.74) | color: oklch(0.4456 0.208 290.74) | |
| Lab | lab(32.85 54.19 -67.68) | color: lab(32.85 54.19 -67.68) | |
| LCH | lch(32.85 86.7 308.68) | color: lch(32.85 86.7 308.68) |
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)
#464598 — rgb(70, 69, 152)
Deuteranopia (Green-blind)
#494C90 — rgb(73, 76, 144)
Tritanopia (Blue-blind)
#597C76 — rgb(89, 124, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 63%, 45%);
text
color: hsl(260, 63%, 45%);
border
border: 2px solid hsl(260, 63%, 45%);
gradient light
background: linear-gradient(to right, hsl(260, 63%, 65%), hsl(260, 63%, 45%));
gradient dark
background: linear-gradient(to right, hsl(260, 63%, 45%), hsl(260, 63%, 25%))
hex
background-color: #5B2ABB;
tailwind
bg-[hsl(260,63%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 63%, 45%, 0.4);
css variable
--color-primary: hsl(260, 63%, 45%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 63%, 45%)?
HEX: #5B2ABB | RGB: rgb(91, 42, 187) | CMYK: 51%, 78%, 0%, 27% | HSV: 260°, 78%, 73%. Copy any format from the conversion table above.
What colors go well with #5B2ABB?
The complementary color is HSL(80, 63%, 45%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(260, 63%, 45%) in CSS?
As HSL: color: hsl(260, 63%, 45%); — As HEX: color: #5B2ABB; — As RGB: color: rgb(91, 42, 187); — Tailwind CSS: bg-[hsl(260,63%,45%)] — CSS variable: --color-primary: hsl(260, 63%, 45%);