HSL(272, 90%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,90%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 90%, 64%) | color: hsl(272, 90%, 64%) | |
| HEX | #A951F6 | color: #A951F6 | |
| RGB | rgb(169, 81, 246) | color: rgb(169, 81, 246) | |
| CMYK | cmyk(31%, 67%, 0%, 4%) | — | |
| HSV | hsv(272, 67%, 96%) | — | |
| HWB | hwb(272 32% 4%) | color: hwb(272 32% 4%) | |
| OKLCH | oklch(0.6225 0.2367 304.86) | color: oklch(0.6225 0.2367 304.86) | |
| Lab | lab(52.92 64.47 -68.4) | color: lab(52.92 64.47 -68.4) | |
| LCH | lch(52.92 93.99 313.31) | color: lch(52.92 93.99 313.31) |
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)
#8382CE — rgb(131, 130, 206)
Deuteranopia (Green-blind)
#888FC5 — rgb(136, 143, 197)
Tritanopia (Blue-blind)
#A5AFA8 — rgb(165, 175, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 90%, 64%);
text
color: hsl(272, 90%, 64%);
border
border: 2px solid hsl(272, 90%, 64%);
gradient light
background: linear-gradient(to right, hsl(272, 90%, 84%), hsl(272, 90%, 64%));
gradient dark
background: linear-gradient(to right, hsl(272, 90%, 64%), hsl(272, 90%, 44%))
hex
background-color: #A951F6;
tailwind
bg-[hsl(272,90%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 90%, 64%, 0.4);
css variable
--color-primary: hsl(272, 90%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 90%, 64%)?
HEX: #A951F6 | RGB: rgb(169, 81, 246) | CMYK: 31%, 67%, 0%, 4% | HSV: 272°, 67%, 96%. Copy any format from the conversion table above.
What colors go well with #A951F6?
The complementary color is HSL(92, 90%, 64%). 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, 90%, 64%) in CSS?
As HSL: color: hsl(272, 90%, 64%); — As HEX: color: #A951F6; — As RGB: color: rgb(169, 81, 246); — Tailwind CSS: bg-[hsl(272,90%,64%)] — CSS variable: --color-primary: hsl(272, 90%, 64%);