HSL(266, 30%, 31%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,30%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 30%, 31%) | color: hsl(266, 30%, 31%) | |
| HEX | #4C3767 | color: #4C3767 | |
| RGB | rgb(76, 55, 103) | color: rgb(76, 55, 103) | |
| CMYK | cmyk(26%, 47%, 0%, 60%) | — | |
| HSV | hsv(266, 47%, 40%) | — | |
| HWB | hwb(266 21% 60%) | color: hwb(266 21% 60%) | |
| OKLCH | oklch(0.3826 0.0825 302.88) | color: oklch(0.3826 0.0825 302.88) | |
| Lab | lab(27.43 20.31 -24.81) | color: lab(27.43 20.31 -24.81) | |
| LCH | lch(27.43 32.06 309.3) | color: lch(27.43 32.06 309.3) |
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)
#43435B — rgb(67, 67, 91)
Deuteranopia (Green-blind)
#444659 — rgb(68, 70, 89)
Tritanopia (Blue-blind)
#4B5250 — rgb(75, 82, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 30%, 31%);
text
color: hsl(266, 30%, 31%);
border
border: 2px solid hsl(266, 30%, 31%);
gradient light
background: linear-gradient(to right, hsl(266, 30%, 51%), hsl(266, 30%, 31%));
gradient dark
background: linear-gradient(to right, hsl(266, 30%, 31%), hsl(266, 30%, 11%))
hex
background-color: #4C3767;
tailwind
bg-[hsl(266,30%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 30%, 31%, 0.4);
css variable
--color-primary: hsl(266, 30%, 31%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 30%, 31%)?
HEX: #4C3767 | RGB: rgb(76, 55, 103) | CMYK: 26%, 47%, 0%, 60% | HSV: 266°, 47%, 40%. Copy any format from the conversion table above.
What colors go well with #4C3767?
The complementary color is HSL(86, 30%, 31%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 30%, 31%) in CSS?
As HSL: color: hsl(266, 30%, 31%); — As HEX: color: #4C3767; — As RGB: color: rgb(76, 55, 103); — Tailwind CSS: bg-[hsl(266,30%,31%)] — CSS variable: --color-primary: hsl(266, 30%, 31%);