HSL(261, 97%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,97%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 97%, 60%) | color: hsl(261, 97%, 60%) | |
| HEX | #7B36FC | color: #7B36FC | |
| RGB | rgb(123, 54, 252) | color: rgb(123, 54, 252) | |
| CMYK | cmyk(51%, 79%, 0%, 1%) | — | |
| HSV | hsv(261, 79%, 99%) | — | |
| HWB | hwb(261 21% 1%) | color: hwb(261 21% 1%) | |
| OKLCH | oklch(0.5497 0.2655 290.6) | color: oklch(0.5497 0.2655 290.6) | |
| Lab | lab(44.06 70.04 -86.44) | color: lab(44.06 70.04 -86.44) | |
| LCH | lch(44.06 111.25 309.02) | color: lch(44.06 111.25 309.02) |
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)
#5D5DCC — rgb(93, 93, 204)
Deuteranopia (Green-blind)
#6166C1 — rgb(97, 102, 193)
Tritanopia (Blue-blind)
#78A69E — rgb(120, 166, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 97%, 60%);
text
color: hsl(261, 97%, 60%);
border
border: 2px solid hsl(261, 97%, 60%);
gradient light
background: linear-gradient(to right, hsl(261, 97%, 80%), hsl(261, 97%, 60%));
gradient dark
background: linear-gradient(to right, hsl(261, 97%, 60%), hsl(261, 97%, 40%))
hex
background-color: #7B36FC;
tailwind
bg-[hsl(261,97%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 97%, 60%, 0.4);
css variable
--color-primary: hsl(261, 97%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 97%, 60%)?
HEX: #7B36FC | RGB: rgb(123, 54, 252) | CMYK: 51%, 79%, 0%, 1% | HSV: 261°, 79%, 99%. Copy any format from the conversion table above.
What colors go well with #7B36FC?
The complementary color is HSL(81, 97%, 60%). 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, 97%, 60%) in CSS?
As HSL: color: hsl(261, 97%, 60%); — As HEX: color: #7B36FC; — As RGB: color: rgb(123, 54, 252); — Tailwind CSS: bg-[hsl(261,97%,60%)] — CSS variable: --color-primary: hsl(261, 97%, 60%);