HSL(264, 49%, 39%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,49%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 49%, 39%) | color: hsl(264, 49%, 39%) | |
| HEX | #5A3394 | color: #5A3394 | |
| RGB | rgb(90, 51, 148) | color: rgb(90, 51, 148) | |
| CMYK | cmyk(39%, 66%, 0%, 42%) | — | |
| HSV | hsv(264, 66%, 58%) | — | |
| HWB | hwb(264 20% 42%) | color: hwb(264 20% 42%) | |
| OKLCH | oklch(0.4226 0.1521 298.07) | color: oklch(0.4226 0.1521 298.07) | |
| Lab | lab(31.07 38.89 -47.14) | color: lab(31.07 38.89 -47.14) | |
| LCH | lch(31.07 61.11 309.52) | color: lch(31.07 61.11 309.52) |
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)
#49497D — rgb(73, 73, 125)
Deuteranopia (Green-blind)
#4B4E77 — rgb(75, 78, 119)
Tritanopia (Blue-blind)
#586A66 — rgb(88, 106, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 49%, 39%);
text
color: hsl(264, 49%, 39%);
border
border: 2px solid hsl(264, 49%, 39%);
gradient light
background: linear-gradient(to right, hsl(264, 49%, 59%), hsl(264, 49%, 39%));
gradient dark
background: linear-gradient(to right, hsl(264, 49%, 39%), hsl(264, 49%, 19%))
hex
background-color: #5A3394;
tailwind
bg-[hsl(264,49%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 49%, 39%, 0.4);
css variable
--color-primary: hsl(264, 49%, 39%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 49%, 39%)?
HEX: #5A3394 | RGB: rgb(90, 51, 148) | CMYK: 39%, 66%, 0%, 42% | HSV: 264°, 66%, 58%. Copy any format from the conversion table above.
What colors go well with #5A3394?
The complementary color is HSL(84, 49%, 39%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 49%, 39%) in CSS?
As HSL: color: hsl(264, 49%, 39%); — As HEX: color: #5A3394; — As RGB: color: rgb(90, 51, 148); — Tailwind CSS: bg-[hsl(264,49%,39%)] — CSS variable: --color-primary: hsl(264, 49%, 39%);