HSL(272, 30%, 47%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,30%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 30%, 47%) | color: hsl(272, 30%, 47%) | |
| HEX | #7A549C | color: #7A549C | |
| RGB | rgb(122, 84, 156) | color: rgb(122, 84, 156) | |
| CMYK | cmyk(22%, 46%, 0%, 39%) | — | |
| HSV | hsv(272, 46%, 61%) | — | |
| HWB | hwb(272 33% 39%) | color: hwb(272 33% 39%) | |
| OKLCH | oklch(0.5174 0.1168 307.12) | color: oklch(0.5174 0.1168 307.12) | |
| Lab | lab(42.58 30.29 -33.38) | color: lab(42.58 30.29 -33.38) | |
| LCH | lch(42.58 45.07 312.22) | color: lch(42.58 45.07 312.22) |
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)
#6A698B — rgb(106, 105, 139)
Deuteranopia (Green-blind)
#6C6F86 — rgb(108, 111, 134)
Tritanopia (Blue-blind)
#787D7A — rgb(120, 125, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 30%, 47%);
text
color: hsl(272, 30%, 47%);
border
border: 2px solid hsl(272, 30%, 47%);
gradient light
background: linear-gradient(to right, hsl(272, 30%, 67%), hsl(272, 30%, 47%));
gradient dark
background: linear-gradient(to right, hsl(272, 30%, 47%), hsl(272, 30%, 27%))
hex
background-color: #7A549C;
tailwind
bg-[hsl(272,30%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 30%, 47%, 0.4);
css variable
--color-primary: hsl(272, 30%, 47%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 30%, 47%)?
HEX: #7A549C | RGB: rgb(122, 84, 156) | CMYK: 22%, 46%, 0%, 39% | HSV: 272°, 46%, 61%. Copy any format from the conversion table above.
What colors go well with #7A549C?
The complementary color is HSL(92, 30%, 47%). 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, 30%, 47%) in CSS?
As HSL: color: hsl(272, 30%, 47%); — As HEX: color: #7A549C; — As RGB: color: rgb(122, 84, 156); — Tailwind CSS: bg-[hsl(272,30%,47%)] — CSS variable: --color-primary: hsl(272, 30%, 47%);