HSL(267, 55%, 32%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,55%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 55%, 32%) | color: hsl(267, 55%, 32%) | |
| HEX | #4D257E | color: #4D257E | |
| RGB | rgb(77, 37, 126) | color: rgb(77, 37, 126) | |
| CMYK | cmyk(39%, 71%, 0%, 51%) | — | |
| HSV | hsv(267, 71%, 49%) | — | |
| HWB | hwb(267 14% 51%) | color: hwb(267 14% 51%) | |
| OKLCH | oklch(0.3698 0.1428 300.01) | color: oklch(0.3698 0.1428 300.01) | |
| Lab | lab(24.97 37.72 -43.4) | color: lab(24.97 37.72 -43.4) | |
| LCH | lch(24.97 57.5 310.99) | color: lch(24.97 57.5 310.99) |
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)
#3C3B68 — rgb(60, 59, 104)
Deuteranopia (Green-blind)
#3E4163 — rgb(62, 65, 99)
Tritanopia (Blue-blind)
#4B5754 — rgb(75, 87, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 55%, 32%);
text
color: hsl(267, 55%, 32%);
border
border: 2px solid hsl(267, 55%, 32%);
gradient light
background: linear-gradient(to right, hsl(267, 55%, 52%), hsl(267, 55%, 32%));
gradient dark
background: linear-gradient(to right, hsl(267, 55%, 32%), hsl(267, 55%, 12%))
hex
background-color: #4D257E;
tailwind
bg-[hsl(267,55%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 55%, 32%, 0.4);
css variable
--color-primary: hsl(267, 55%, 32%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 55%, 32%)?
HEX: #4D257E | RGB: rgb(77, 37, 126) | CMYK: 39%, 71%, 0%, 51% | HSV: 267°, 71%, 49%. Copy any format from the conversion table above.
What colors go well with #4D257E?
The complementary color is HSL(87, 55%, 32%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 55%, 32%) in CSS?
As HSL: color: hsl(267, 55%, 32%); — As HEX: color: #4D257E; — As RGB: color: rgb(77, 37, 126); — Tailwind CSS: bg-[hsl(267,55%,32%)] — CSS variable: --color-primary: hsl(267, 55%, 32%);