HSL(272, 51%, 50%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,51%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 51%, 50%) | color: hsl(272, 51%, 50%) | |
| HEX | #843EC1 | color: #843EC1 | |
| RGB | rgb(132, 62, 193) | color: rgb(132, 62, 193) | |
| CMYK | cmyk(32%, 68%, 0%, 24%) | — | |
| HSV | hsv(272, 68%, 76%) | — | |
| HWB | hwb(272 24% 24%) | color: hwb(272 24% 24%) | |
| OKLCH | oklch(0.5196 0.1968 304.94) | color: oklch(0.5196 0.1968 304.94) | |
| Lab | lab(41.53 53.62 -56.83) | color: lab(41.53 53.62 -56.83) | |
| LCH | lch(41.53 78.13 313.34) | color: lch(41.53 78.13 313.34) |
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)
#6665A1 — rgb(102, 101, 161)
Deuteranopia (Green-blind)
#6A6F9A — rgb(106, 111, 154)
Tritanopia (Blue-blind)
#818883 — rgb(129, 136, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 51%, 50%);
text
color: hsl(272, 51%, 50%);
border
border: 2px solid hsl(272, 51%, 50%);
gradient light
background: linear-gradient(to right, hsl(272, 51%, 70%), hsl(272, 51%, 50%));
gradient dark
background: linear-gradient(to right, hsl(272, 51%, 50%), hsl(272, 51%, 30%))
hex
background-color: #843EC1;
tailwind
bg-[hsl(272,51%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 51%, 50%, 0.4);
css variable
--color-primary: hsl(272, 51%, 50%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 51%, 50%)?
HEX: #843EC1 | RGB: rgb(132, 62, 193) | CMYK: 32%, 68%, 0%, 24% | HSV: 272°, 68%, 76%. Copy any format from the conversion table above.
What colors go well with #843EC1?
The complementary color is HSL(92, 51%, 50%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 51%, 50%) in CSS?
As HSL: color: hsl(272, 51%, 50%); — As HEX: color: #843EC1; — As RGB: color: rgb(132, 62, 193); — Tailwind CSS: bg-[hsl(272,51%,50%)] — CSS variable: --color-primary: hsl(272, 51%, 50%);