HSL(273, 40%, 32%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(273,40%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(273, 40%, 32%) | color: hsl(273, 40%, 32%) | |
| HEX | #553172 | color: #553172 | |
| RGB | rgb(85, 49, 114) | color: rgb(85, 49, 114) | |
| CMYK | cmyk(25%, 57%, 0%, 55%) | — | |
| HSV | hsv(273, 57%, 45%) | — | |
| HWB | hwb(273 19% 55%) | color: hwb(273 19% 55%) | |
| OKLCH | oklch(0.3891 0.1112 307.6) | color: oklch(0.3891 0.1112 307.6) | |
| Lab | lab(27.69 29.71 -31.37) | color: lab(27.69 29.71 -31.37) | |
| LCH | lch(27.69 43.21 313.44) | color: lch(27.69 43.21 313.44) |
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)
#454562 — rgb(69, 69, 98)
Deuteranopia (Green-blind)
#484A5F — rgb(72, 74, 95)
Tritanopia (Blue-blind)
#535653 — rgb(83, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(273, 40%, 32%);
text
color: hsl(273, 40%, 32%);
border
border: 2px solid hsl(273, 40%, 32%);
gradient light
background: linear-gradient(to right, hsl(273, 40%, 52%), hsl(273, 40%, 32%));
gradient dark
background: linear-gradient(to right, hsl(273, 40%, 32%), hsl(273, 40%, 12%))
hex
background-color: #553172;
tailwind
bg-[hsl(273,40%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(273, 40%, 32%, 0.4);
css variable
--color-primary: hsl(273, 40%, 32%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(273, 40%, 32%)?
HEX: #553172 | RGB: rgb(85, 49, 114) | CMYK: 25%, 57%, 0%, 55% | HSV: 273°, 57%, 45%. Copy any format from the conversion table above.
What colors go well with #553172?
The complementary color is HSL(93, 40%, 32%). For a triadic harmony, use hues 273°, 33°, and 153°. For analogous combinations, try hues 243° and 303°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(273, 40%, 32%) in CSS?
As HSL: color: hsl(273, 40%, 32%); — As HEX: color: #553172; — As RGB: color: rgb(85, 49, 114); — Tailwind CSS: bg-[hsl(273,40%,32%)] — CSS variable: --color-primary: hsl(273, 40%, 32%);