HSL(261, 49%, 35%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,49%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 49%, 35%) | color: hsl(261, 49%, 35%) | |
| HEX | #4C2E85 | color: #4C2E85 | |
| RGB | rgb(76, 46, 133) | color: rgb(76, 46, 133) | |
| CMYK | cmyk(43%, 65%, 0%, 48%) | — | |
| HSV | hsv(261, 65%, 52%) | — | |
| HWB | hwb(261 18% 48%) | color: hwb(261 18% 48%) | |
| OKLCH | oklch(0.3877 0.1388 294.97) | color: oklch(0.3877 0.1388 294.97) | |
| Lab | lab(27.25 34.41 -44.11) | color: lab(27.25 34.41 -44.11) | |
| LCH | lch(27.25 55.94 307.96) | color: lch(27.25 55.94 307.96) |
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)
#3F3F70 — rgb(63, 63, 112)
Deuteranopia (Green-blind)
#41436B — rgb(65, 67, 107)
Tritanopia (Blue-blind)
#4B5F5C — rgb(75, 95, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 49%, 35%);
text
color: hsl(261, 49%, 35%);
border
border: 2px solid hsl(261, 49%, 35%);
gradient light
background: linear-gradient(to right, hsl(261, 49%, 55%), hsl(261, 49%, 35%));
gradient dark
background: linear-gradient(to right, hsl(261, 49%, 35%), hsl(261, 49%, 15%))
hex
background-color: #4C2E85;
tailwind
bg-[hsl(261,49%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 49%, 35%, 0.4);
css variable
--color-primary: hsl(261, 49%, 35%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 49%, 35%)?
HEX: #4C2E85 | RGB: rgb(76, 46, 133) | CMYK: 43%, 65%, 0%, 48% | HSV: 261°, 65%, 52%. Copy any format from the conversion table above.
What colors go well with #4C2E85?
The complementary color is HSL(81, 49%, 35%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 49%, 35%) in CSS?
As HSL: color: hsl(261, 49%, 35%); — As HEX: color: #4C2E85; — As RGB: color: rgb(76, 46, 133); — Tailwind CSS: bg-[hsl(261,49%,35%)] — CSS variable: --color-primary: hsl(261, 49%, 35%);