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