HSL(260, 60%, 57%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,60%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 60%, 57%) | color: hsl(260, 60%, 57%) | |
| HEX | #7B50D3 | color: #7B50D3 | |
| RGB | rgb(123, 80, 211) | color: rgb(123, 80, 211) | |
| CMYK | cmyk(42%, 62%, 0%, 17%) | — | |
| HSV | hsv(260, 62%, 83%) | — | |
| HWB | hwb(260 32% 17%) | color: hwb(260 32% 17%) | |
| OKLCH | oklch(0.5473 0.1922 294.27) | color: oklch(0.5473 0.1922 294.27) | |
| Lab | lab(45.15 47.05 -61.44) | color: lab(45.15 47.05 -61.44) | |
| LCH | lch(45.15 77.39 307.44) | color: lch(45.15 77.39 307.44) |
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)
#6868B3 — rgb(104, 104, 179)
Deuteranopia (Green-blind)
#6B6EAC — rgb(107, 110, 172)
Tritanopia (Blue-blind)
#799A95 — rgb(121, 154, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 60%, 57%);
text
color: hsl(260, 60%, 57%);
border
border: 2px solid hsl(260, 60%, 57%);
gradient light
background: linear-gradient(to right, hsl(260, 60%, 77%), hsl(260, 60%, 57%));
gradient dark
background: linear-gradient(to right, hsl(260, 60%, 57%), hsl(260, 60%, 37%))
hex
background-color: #7B50D3;
tailwind
bg-[hsl(260,60%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 60%, 57%, 0.4);
css variable
--color-primary: hsl(260, 60%, 57%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 60%, 57%)?
HEX: #7B50D3 | RGB: rgb(123, 80, 211) | CMYK: 42%, 62%, 0%, 17% | HSV: 260°, 62%, 83%. Copy any format from the conversion table above.
What colors go well with #7B50D3?
The complementary color is HSL(80, 60%, 57%). 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, 60%, 57%) in CSS?
As HSL: color: hsl(260, 60%, 57%); — As HEX: color: #7B50D3; — As RGB: color: rgb(123, 80, 211); — Tailwind CSS: bg-[hsl(260,60%,57%)] — CSS variable: --color-primary: hsl(260, 60%, 57%);