HSL(273, 20%, 46%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(273,20%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(273, 20%, 46%) | color: hsl(273, 20%, 46%) | |
| HEX | #785E8D | color: #785E8D | |
| RGB | rgb(120, 94, 141) | color: rgb(120, 94, 141) | |
| CMYK | cmyk(15%, 33%, 0%, 45%) | — | |
| HSV | hsv(273, 33%, 55%) | — | |
| HWB | hwb(273 37% 45%) | color: hwb(273 37% 45%) | |
| OKLCH | oklch(0.5262 0.078 309.18) | color: oklch(0.5262 0.078 309.18) | |
| Lab | lab(44.12 20.09 -22.01) | color: lab(44.12 20.09 -22.01) | |
| LCH | lch(44.12 29.8 312.39) | color: lch(44.12 29.8 312.39) |
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)
#6D6D82 — rgb(109, 109, 130)
Deuteranopia (Green-blind)
#6E707F — rgb(110, 112, 127)
Tritanopia (Blue-blind)
#777977 — rgb(119, 121, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(273, 20%, 46%);
text
color: hsl(273, 20%, 46%);
border
border: 2px solid hsl(273, 20%, 46%);
gradient light
background: linear-gradient(to right, hsl(273, 20%, 66%), hsl(273, 20%, 46%));
gradient dark
background: linear-gradient(to right, hsl(273, 20%, 46%), hsl(273, 20%, 26%))
hex
background-color: #785E8D;
tailwind
bg-[hsl(273,20%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(273, 20%, 46%, 0.4);
css variable
--color-primary: hsl(273, 20%, 46%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(273, 20%, 46%)?
HEX: #785E8D | RGB: rgb(120, 94, 141) | CMYK: 15%, 33%, 0%, 45% | HSV: 273°, 33%, 55%. Copy any format from the conversion table above.
What colors go well with #785E8D?
The complementary color is HSL(93, 20%, 46%). 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, 20%, 46%) in CSS?
As HSL: color: hsl(273, 20%, 46%); — As HEX: color: #785E8D; — As RGB: color: rgb(120, 94, 141); — Tailwind CSS: bg-[hsl(273,20%,46%)] — CSS variable: --color-primary: hsl(273, 20%, 46%);