HSL(277, 42%, 43%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,42%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 42%, 43%) | color: hsl(277, 42%, 43%) | |
| HEX | #78409C | color: #78409C | |
| RGB | rgb(120, 64, 156) | color: rgb(120, 64, 156) | |
| CMYK | cmyk(23%, 59%, 0%, 39%) | — | |
| HSV | hsv(277, 59%, 61%) | — | |
| HWB | hwb(277 25% 39%) | color: hwb(277 25% 39%) | |
| OKLCH | oklch(0.4826 0.1496 310.04) | color: oklch(0.4826 0.1496 310.04) | |
| Lab | lab(37.95 41.09 -40.73) | color: lab(37.95 41.09 -40.73) | |
| LCH | lch(37.95 57.86 315.25) | color: lch(37.95 57.86 315.25) |
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)
#605F86 — rgb(96, 95, 134)
Deuteranopia (Green-blind)
#636780 — rgb(99, 103, 128)
Tritanopia (Blue-blind)
#757470 — rgb(117, 116, 112)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 42%, 43%);
text
color: hsl(277, 42%, 43%);
border
border: 2px solid hsl(277, 42%, 43%);
gradient light
background: linear-gradient(to right, hsl(277, 42%, 63%), hsl(277, 42%, 43%));
gradient dark
background: linear-gradient(to right, hsl(277, 42%, 43%), hsl(277, 42%, 23%))
hex
background-color: #78409C;
tailwind
bg-[hsl(277,42%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 42%, 43%, 0.4);
css variable
--color-primary: hsl(277, 42%, 43%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 42%, 43%)?
HEX: #78409C | RGB: rgb(120, 64, 156) | CMYK: 23%, 59%, 0%, 39% | HSV: 277°, 59%, 61%. Copy any format from the conversion table above.
What colors go well with #78409C?
The complementary color is HSL(97, 42%, 43%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 42%, 43%) in CSS?
As HSL: color: hsl(277, 42%, 43%); — As HEX: color: #78409C; — As RGB: color: rgb(120, 64, 156); — Tailwind CSS: bg-[hsl(277,42%,43%)] — CSS variable: --color-primary: hsl(277, 42%, 43%);