HSL(260, 79%, 43%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(260,79%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(260, 79%, 43%) | color: hsl(260, 79%, 43%) | |
| HEX | #5117C4 | color: #5117C4 | |
| RGB | rgb(81, 23, 196) | color: rgb(81, 23, 196) | |
| CMYK | cmyk(59%, 88%, 0%, 23%) | — | |
| HSV | hsv(260, 88%, 77%) | — | |
| HWB | hwb(260 9% 23%) | color: hwb(260 9% 23%) | |
| OKLCH | oklch(0.4281 0.2319 286.36) | color: oklch(0.4281 0.2319 286.36) | |
| Lab | lab(30.27 62.46 -77.27) | color: lab(30.27 62.46 -77.27) | |
| LCH | lch(30.27 99.36 308.95) | color: lch(30.27 99.36 308.95) |
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)
#38379A — rgb(56, 55, 154)
Deuteranopia (Green-blind)
#3B4090 — rgb(59, 64, 144)
Tritanopia (Blue-blind)
#4E7972 — rgb(78, 121, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(260, 79%, 43%);
text
color: hsl(260, 79%, 43%);
border
border: 2px solid hsl(260, 79%, 43%);
gradient light
background: linear-gradient(to right, hsl(260, 79%, 63%), hsl(260, 79%, 43%));
gradient dark
background: linear-gradient(to right, hsl(260, 79%, 43%), hsl(260, 79%, 23%))
hex
background-color: #5117C4;
tailwind
bg-[hsl(260,79%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(260, 79%, 43%, 0.4);
css variable
--color-primary: hsl(260, 79%, 43%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(260, 79%, 43%)?
HEX: #5117C4 | RGB: rgb(81, 23, 196) | CMYK: 59%, 88%, 0%, 23% | HSV: 260°, 88%, 77%. Copy any format from the conversion table above.
What colors go well with #5117C4?
The complementary color is HSL(80, 79%, 43%). 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, 79%, 43%) in CSS?
As HSL: color: hsl(260, 79%, 43%); — As HEX: color: #5117C4; — As RGB: color: rgb(81, 23, 196); — Tailwind CSS: bg-[hsl(260,79%,43%)] — CSS variable: --color-primary: hsl(260, 79%, 43%);