HSL(272, 70%, 49%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,70%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 70%, 49%) | color: hsl(272, 70%, 49%) | |
| HEX | #8325D4 | color: #8325D4 | |
| RGB | rgb(131, 37, 212) | color: rgb(131, 37, 212) | |
| CMYK | cmyk(38%, 83%, 0%, 17%) | — | |
| HSV | hsv(272, 83%, 83%) | — | |
| HWB | hwb(272 14% 17%) | color: hwb(272 14% 17%) | |
| OKLCH | oklch(0.509 0.241 302.26) | color: oklch(0.509 0.241 302.26) | |
| Lab | lab(39.41 67.68 -71.31) | color: lab(39.41 67.68 -71.31) | |
| LCH | lch(39.41 98.31 313.5) | color: lch(39.41 98.31 313.5) |
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)
#5A59AA — rgb(90, 89, 170)
Deuteranopia (Green-blind)
#6067A0 — rgb(96, 103, 160)
Tritanopia (Blue-blind)
#7E8881 — rgb(126, 136, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 70%, 49%);
text
color: hsl(272, 70%, 49%);
border
border: 2px solid hsl(272, 70%, 49%);
gradient light
background: linear-gradient(to right, hsl(272, 70%, 69%), hsl(272, 70%, 49%));
gradient dark
background: linear-gradient(to right, hsl(272, 70%, 49%), hsl(272, 70%, 29%))
hex
background-color: #8325D4;
tailwind
bg-[hsl(272,70%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 70%, 49%, 0.4);
css variable
--color-primary: hsl(272, 70%, 49%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 70%, 49%)?
HEX: #8325D4 | RGB: rgb(131, 37, 212) | CMYK: 38%, 83%, 0%, 17% | HSV: 272°, 83%, 83%. Copy any format from the conversion table above.
What colors go well with #8325D4?
The complementary color is HSL(92, 70%, 49%). 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, 70%, 49%) in CSS?
As HSL: color: hsl(272, 70%, 49%); — As HEX: color: #8325D4; — As RGB: color: rgb(131, 37, 212); — Tailwind CSS: bg-[hsl(272,70%,49%)] — CSS variable: --color-primary: hsl(272, 70%, 49%);