HSL(272, 41%, 65%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,41%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 41%, 65%) | color: hsl(272, 41%, 65%) | |
| HEX | #A881CA | color: #A881CA | |
| RGB | rgb(168, 129, 202) | color: rgb(168, 129, 202) | |
| CMYK | cmyk(17%, 36%, 0%, 21%) | — | |
| HSV | hsv(272, 36%, 79%) | — | |
| HWB | hwb(272 51% 21%) | color: hwb(272 51% 21%) | |
| OKLCH | oklch(0.668 0.1131 308.1) | color: oklch(0.668 0.1131 308.1) | |
| Lab | lab(60.15 28.98 -32.22) | color: lab(60.15 28.98 -32.22) | |
| LCH | lch(60.15 43.34 311.97) | color: lch(60.15 43.34 311.97) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#9797B8 — rgb(151, 151, 184)
Deuteranopia (Green-blind)
#999CB4 — rgb(153, 156, 180)
Tritanopia (Blue-blind)
#A6AAA7 — rgb(166, 170, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 41%, 65%);
text
color: hsl(272, 41%, 65%);
border
border: 2px solid hsl(272, 41%, 65%);
gradient light
background: linear-gradient(to right, hsl(272, 41%, 85%), hsl(272, 41%, 65%));
gradient dark
background: linear-gradient(to right, hsl(272, 41%, 65%), hsl(272, 41%, 45%))
hex
background-color: #A881CA;
tailwind
bg-[hsl(272,41%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 41%, 65%, 0.4);
css variable
--color-primary: hsl(272, 41%, 65%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 41%, 65%)?
HEX: #A881CA | RGB: rgb(168, 129, 202) | CMYK: 17%, 36%, 0%, 21% | HSV: 272°, 36%, 79%. Copy any format from the conversion table above.
What colors go well with #A881CA?
The complementary color is HSL(92, 41%, 65%). 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, 41%, 65%) in CSS?
As HSL: color: hsl(272, 41%, 65%); — As HEX: color: #A881CA; — As RGB: color: rgb(168, 129, 202); — Tailwind CSS: bg-[hsl(272,41%,65%)] — CSS variable: --color-primary: hsl(272, 41%, 65%);