HSL(272, 100%, 63%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,100%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 100%, 63%) | color: hsl(272, 100%, 63%) | |
| HEX | #A742FF | color: #A742FF | |
| RGB | rgb(167, 66, 255) | color: rgb(167, 66, 255) | |
| CMYK | cmyk(35%, 74%, 0%, 0%) | — | |
| HSV | hsv(272, 74%, 100%) | — | |
| HWB | hwb(272 26% 0%) | color: hwb(272 26% 0%) | |
| OKLCH | oklch(0.6109 0.2617 303.69) | color: oklch(0.6109 0.2617 303.69) | |
| Lab | lab(51.07 72.42 -76.42) | color: lab(51.07 72.42 -76.42) | |
| LCH | lch(51.07 105.28 313.46) | color: lch(51.07 105.28 313.46) |
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)
#7B7AD1 — rgb(123, 122, 209)
Deuteranopia (Green-blind)
#8189C6 — rgb(129, 137, 198)
Tritanopia (Blue-blind)
#A2ADA5 — rgb(162, 173, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 100%, 63%);
text
color: hsl(272, 100%, 63%);
border
border: 2px solid hsl(272, 100%, 63%);
gradient light
background: linear-gradient(to right, hsl(272, 100%, 83%), hsl(272, 100%, 63%));
gradient dark
background: linear-gradient(to right, hsl(272, 100%, 63%), hsl(272, 100%, 43%))
hex
background-color: #A742FF;
tailwind
bg-[hsl(272,100%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 100%, 63%, 0.4);
css variable
--color-primary: hsl(272, 100%, 63%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 100%, 63%)?
HEX: #A742FF | RGB: rgb(167, 66, 255) | CMYK: 35%, 74%, 0%, 0% | HSV: 272°, 74%, 100%. Copy any format from the conversion table above.
What colors go well with #A742FF?
The complementary color is HSL(92, 100%, 63%). 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, 100%, 63%) in CSS?
As HSL: color: hsl(272, 100%, 63%); — As HEX: color: #A742FF; — As RGB: color: rgb(167, 66, 255); — Tailwind CSS: bg-[hsl(272,100%,63%)] — CSS variable: --color-primary: hsl(272, 100%, 63%);