HSL(257, 46%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,46%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 46%, 64%) | color: hsl(257, 46%, 64%) | |
| HEX | #9179CD | color: #9179CD | |
| RGB | rgb(145, 121, 205) | color: rgb(145, 121, 205) | |
| CMYK | cmyk(29%, 41%, 0%, 20%) | — | |
| HSV | hsv(257, 41%, 80%) | — | |
| HWB | hwb(257 47% 20%) | color: hwb(257 47% 20%) | |
| OKLCH | oklch(0.6333 0.1251 295.78) | color: oklch(0.6333 0.1251 295.78) | |
| Lab | lab(56.19 27.49 -40.27) | color: lab(56.19 27.49 -40.27) | |
| LCH | lch(56.19 48.76 304.32) | color: lch(56.19 48.76 304.32) |
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)
#8786B9 — rgb(135, 134, 185)
Deuteranopia (Green-blind)
#888AB4 — rgb(136, 138, 180)
Tritanopia (Blue-blind)
#90A9A5 — rgb(144, 169, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 46%, 64%);
text
color: hsl(257, 46%, 64%);
border
border: 2px solid hsl(257, 46%, 64%);
gradient light
background: linear-gradient(to right, hsl(257, 46%, 84%), hsl(257, 46%, 64%));
gradient dark
background: linear-gradient(to right, hsl(257, 46%, 64%), hsl(257, 46%, 44%))
hex
background-color: #9179CD;
tailwind
bg-[hsl(257,46%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 46%, 64%, 0.4);
css variable
--color-primary: hsl(257, 46%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 46%, 64%)?
HEX: #9179CD | RGB: rgb(145, 121, 205) | CMYK: 29%, 41%, 0%, 20% | HSV: 257°, 41%, 80%. Copy any format from the conversion table above.
What colors go well with #9179CD?
The complementary color is HSL(77, 46%, 64%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 46%, 64%) in CSS?
As HSL: color: hsl(257, 46%, 64%); — As HEX: color: #9179CD; — As RGB: color: rgb(145, 121, 205); — Tailwind CSS: bg-[hsl(257,46%,64%)] — CSS variable: --color-primary: hsl(257, 46%, 64%);