HSL(270, 85%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,85%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 85%, 29%) | color: hsl(270, 85%, 29%) | |
| HEX | #4A0B89 | color: #4A0B89 | |
| RGB | rgb(74, 11, 137) | color: rgb(74, 11, 137) | |
| CMYK | cmyk(46%, 92%, 0%, 46%) | — | |
| HSV | hsv(270, 92%, 54%) | — | |
| HWB | hwb(270 4% 46%) | color: hwb(270 4% 46%) | |
| OKLCH | oklch(0.3509 0.1795 297.98) | color: oklch(0.3509 0.1795 297.98) | |
| Lab | lab(21.95 50.48 -55.29) | color: lab(21.95 50.48 -55.29) | |
| LCH | lch(21.95 74.87 312.4) | color: lch(21.95 74.87 312.4) |
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)
#2F2E6B — rgb(47, 46, 107)
Deuteranopia (Green-blind)
#323763 — rgb(50, 55, 99)
Tritanopia (Blue-blind)
#47524D — rgb(71, 82, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 85%, 29%);
text
color: hsl(270, 85%, 29%);
border
border: 2px solid hsl(270, 85%, 29%);
gradient light
background: linear-gradient(to right, hsl(270, 85%, 49%), hsl(270, 85%, 29%));
gradient dark
background: linear-gradient(to right, hsl(270, 85%, 29%), hsl(270, 85%, 9%))
hex
background-color: #4A0B89;
tailwind
bg-[hsl(270,85%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 85%, 29%, 0.4);
css variable
--color-primary: hsl(270, 85%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 85%, 29%)?
HEX: #4A0B89 | RGB: rgb(74, 11, 137) | CMYK: 46%, 92%, 0%, 46% | HSV: 270°, 92%, 54%. Copy any format from the conversion table above.
What colors go well with #4A0B89?
The complementary color is HSL(90, 85%, 29%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 85%, 29%) in CSS?
As HSL: color: hsl(270, 85%, 29%); — As HEX: color: #4A0B89; — As RGB: color: rgb(74, 11, 137); — Tailwind CSS: bg-[hsl(270,85%,29%)] — CSS variable: --color-primary: hsl(270, 85%, 29%);