HSL(261, 54%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,54%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 54%, 36%) | color: hsl(261, 54%, 36%) | |
| HEX | #4D2A8D | color: #4D2A8D | |
| RGB | rgb(77, 42, 141) | color: rgb(77, 42, 141) | |
| CMYK | cmyk(45%, 70%, 0%, 45%) | — | |
| HSV | hsv(261, 70%, 55%) | — | |
| HWB | hwb(261 17% 45%) | color: hwb(261 17% 45%) | |
| OKLCH | oklch(0.3894 0.1545 294.29) | color: oklch(0.3894 0.1545 294.29) | |
| Lab | lab(27.18 39.19 -49.21) | color: lab(27.18 39.19 -49.21) | |
| LCH | lch(27.18 62.91 308.53) | color: lch(27.18 62.91 308.53) |
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)
#3E3E75 — rgb(62, 62, 117)
Deuteranopia (Green-blind)
#40436F — rgb(64, 67, 111)
Tritanopia (Blue-blind)
#4B625E — rgb(75, 98, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 54%, 36%);
text
color: hsl(261, 54%, 36%);
border
border: 2px solid hsl(261, 54%, 36%);
gradient light
background: linear-gradient(to right, hsl(261, 54%, 56%), hsl(261, 54%, 36%));
gradient dark
background: linear-gradient(to right, hsl(261, 54%, 36%), hsl(261, 54%, 16%))
hex
background-color: #4D2A8D;
tailwind
bg-[hsl(261,54%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 54%, 36%, 0.4);
css variable
--color-primary: hsl(261, 54%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 54%, 36%)?
HEX: #4D2A8D | RGB: rgb(77, 42, 141) | CMYK: 45%, 70%, 0%, 45% | HSV: 261°, 70%, 55%. Copy any format from the conversion table above.
What colors go well with #4D2A8D?
The complementary color is HSL(81, 54%, 36%). 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, 54%, 36%) in CSS?
As HSL: color: hsl(261, 54%, 36%); — As HEX: color: #4D2A8D; — As RGB: color: rgb(77, 42, 141); — Tailwind CSS: bg-[hsl(261,54%,36%)] — CSS variable: --color-primary: hsl(261, 54%, 36%);