HSL(277, 66%, 34%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,66%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 66%, 34%) | color: hsl(277, 66%, 34%) | |
| HEX | #641D90 | color: #641D90 | |
| RGB | rgb(100, 29, 144) | color: rgb(100, 29, 144) | |
| CMYK | cmyk(31%, 80%, 0%, 44%) | — | |
| HSV | hsv(277, 80%, 56%) | — | |
| HWB | hwb(277 11% 44%) | color: hwb(277 11% 44%) | |
| OKLCH | oklch(0.4054 0.1771 308.23) | color: oklch(0.4054 0.1771 308.23) | |
| Lab | lab(28.38 50.32 -48.96) | color: lab(28.38 50.32 -48.96) | |
| LCH | lch(28.38 70.21 315.78) | color: lch(28.38 70.21 315.78) |
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)
#454574 — rgb(69, 69, 116)
Deuteranopia (Green-blind)
#494F6E — rgb(73, 79, 110)
Tritanopia (Blue-blind)
#605E59 — rgb(96, 94, 89)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 66%, 34%);
text
color: hsl(277, 66%, 34%);
border
border: 2px solid hsl(277, 66%, 34%);
gradient light
background: linear-gradient(to right, hsl(277, 66%, 54%), hsl(277, 66%, 34%));
gradient dark
background: linear-gradient(to right, hsl(277, 66%, 34%), hsl(277, 66%, 14%))
hex
background-color: #641D90;
tailwind
bg-[hsl(277,66%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 66%, 34%, 0.4);
css variable
--color-primary: hsl(277, 66%, 34%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 66%, 34%)?
HEX: #641D90 | RGB: rgb(100, 29, 144) | CMYK: 31%, 80%, 0%, 44% | HSV: 277°, 80%, 56%. Copy any format from the conversion table above.
What colors go well with #641D90?
The complementary color is HSL(97, 66%, 34%). 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, 66%, 34%) in CSS?
As HSL: color: hsl(277, 66%, 34%); — As HEX: color: #641D90; — As RGB: color: rgb(100, 29, 144); — Tailwind CSS: bg-[hsl(277,66%,34%)] — CSS variable: --color-primary: hsl(277, 66%, 34%);