HSL(261, 45%, 43%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,45%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 45%, 43%) | color: hsl(261, 45%, 43%) | |
| HEX | #5F3C9F | color: #5F3C9F | |
| RGB | rgb(95, 60, 159) | color: rgb(95, 60, 159) | |
| CMYK | cmyk(40%, 62%, 0%, 38%) | — | |
| HSV | hsv(261, 62%, 62%) | — | |
| HWB | hwb(261 24% 38%) | color: hwb(261 24% 38%) | |
| OKLCH | oklch(0.4501 0.1536 295.91) | color: oklch(0.4501 0.1536 295.91) | |
| Lab | lab(34.33 37.95 -48.52) | color: lab(34.33 37.95 -48.52) | |
| LCH | lch(34.33 61.6 308.03) | color: lch(34.33 61.6 308.03) |
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)
#505087 — rgb(80, 80, 135)
Deuteranopia (Green-blind)
#525581 — rgb(82, 85, 129)
Tritanopia (Blue-blind)
#5D7470 — rgb(93, 116, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 45%, 43%);
text
color: hsl(261, 45%, 43%);
border
border: 2px solid hsl(261, 45%, 43%);
gradient light
background: linear-gradient(to right, hsl(261, 45%, 63%), hsl(261, 45%, 43%));
gradient dark
background: linear-gradient(to right, hsl(261, 45%, 43%), hsl(261, 45%, 23%))
hex
background-color: #5F3C9F;
tailwind
bg-[hsl(261,45%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 45%, 43%, 0.4);
css variable
--color-primary: hsl(261, 45%, 43%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 45%, 43%)?
HEX: #5F3C9F | RGB: rgb(95, 60, 159) | CMYK: 40%, 62%, 0%, 38% | HSV: 261°, 62%, 62%. Copy any format from the conversion table above.
What colors go well with #5F3C9F?
The complementary color is HSL(81, 45%, 43%). 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, 45%, 43%) in CSS?
As HSL: color: hsl(261, 45%, 43%); — As HEX: color: #5F3C9F; — As RGB: color: rgb(95, 60, 159); — Tailwind CSS: bg-[hsl(261,45%,43%)] — CSS variable: --color-primary: hsl(261, 45%, 43%);