HSL(261, 65%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,65%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 65%, 64%) | color: hsl(261, 65%, 64%) | |
| HEX | #9168DF | color: #9168DF | |
| RGB | rgb(145, 104, 223) | color: rgb(145, 104, 223) | |
| CMYK | cmyk(35%, 53%, 0%, 13%) | — | |
| HSV | hsv(261, 53%, 87%) | — | |
| HWB | hwb(261 41% 13%) | color: hwb(261 41% 13%) | |
| OKLCH | oklch(0.6141 0.175 296.83) | color: oklch(0.6141 0.175 296.83) | |
| Lab | lab(53.22 41.86 -55.16) | color: lab(53.22 41.86 -55.16) | |
| LCH | lch(53.22 69.25 307.19) | color: lch(53.22 69.25 307.19) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#7F7FC2 — rgb(127, 127, 194)
Deuteranopia (Green-blind)
#8285BB — rgb(130, 133, 187)
Tritanopia (Blue-blind)
#8FABA6 — rgb(143, 171, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 65%, 64%);
text
color: hsl(261, 65%, 64%);
border
border: 2px solid hsl(261, 65%, 64%);
gradient light
background: linear-gradient(to right, hsl(261, 65%, 84%), hsl(261, 65%, 64%));
gradient dark
background: linear-gradient(to right, hsl(261, 65%, 64%), hsl(261, 65%, 44%))
hex
background-color: #9168DF;
tailwind
bg-[hsl(261,65%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 65%, 64%, 0.4);
css variable
--color-primary: hsl(261, 65%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 65%, 64%)?
HEX: #9168DF | RGB: rgb(145, 104, 223) | CMYK: 35%, 53%, 0%, 13% | HSV: 261°, 53%, 87%. Copy any format from the conversion table above.
What colors go well with #9168DF?
The complementary color is HSL(81, 65%, 64%). 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, 65%, 64%) in CSS?
As HSL: color: hsl(261, 65%, 64%); — As HEX: color: #9168DF; — As RGB: color: rgb(145, 104, 223); — Tailwind CSS: bg-[hsl(261,65%,64%)] — CSS variable: --color-primary: hsl(261, 65%, 64%);