HSL(260, 40%, 53%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 40%, 53%) | color: hsl(260, 40%, 53%) | |
| HEX | #7757B7 | color: #7757B7 | |
| RGB | rgb(119, 87, 183) | color: rgb(119, 87, 183) | |
| CMYK | cmyk(35%, 52%, 0%, 28%) | — | |
| HSV | hsv(260, 52%, 72%) | — | |
| HWB | hwb(260 35% 28%) | color: hwb(260 35% 28%) | |
| OKLCH | oklch(0.5355 0.1465 296.51) | color: oklch(0.5355 0.1465 296.51) | |
| Lab | lab(44.46 34.61 -46.37) | color: lab(44.46 34.61 -46.37) | |
| LCH | lch(44.46 57.86 306.74) | color: lch(44.46 57.86 306.74) |
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)
#6969A0 — rgb(105, 105, 160)
Deuteranopia (Green-blind)
#6B6D9A — rgb(107, 109, 154)
Tritanopia (Blue-blind)
#758D89 — rgb(117, 141, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 40%, 53%);
text
color: hsl(260, 40%, 53%);
border
border: 2px solid hsl(260, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(260, 40%, 73%), hsl(260, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(260, 40%, 53%), hsl(260, 40%, 33%))
hex
background-color: #7757B7;
tailwind
bg-[hsl(260,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 40%, 53%, 0.4);
css variable
--color-primary: hsl(260, 40%, 53%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 40%, 53%)?
HEX: #7757B7 | RGB: rgb(119, 87, 183) | CMYK: 35%, 52%, 0%, 28% | HSV: 260°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #7757B7?
The complementary color is HSL(80, 40%, 53%). 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, 40%, 53%) in CSS?
As HSL: color: hsl(260, 40%, 53%); — As HEX: color: #7757B7; — As RGB: color: rgb(119, 87, 183); — Tailwind CSS: bg-[hsl(260,40%,53%)] — CSS variable: --color-primary: hsl(260, 40%, 53%);