HSL(270, 90%, 29%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,90%,29%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 90%, 29%) | color: hsl(270, 90%, 29%) | |
| HEX | #4A078D | color: #4A078D | |
| RGB | rgb(74, 7, 141) | color: rgb(74, 7, 141) | |
| CMYK | cmyk(48%, 95%, 0%, 45%) | — | |
| HSV | hsv(270, 95%, 55%) | — | |
| HWB | hwb(270 3% 45%) | color: hwb(270 3% 45%) | |
| OKLCH | oklch(0.3529 0.1854 296.97) | color: oklch(0.3529 0.1854 296.97) | |
| Lab | lab(22.06 52.38 -57.62) | color: lab(22.06 52.38 -57.62) | |
| LCH | lch(22.06 77.87 312.27) | color: lch(22.06 77.87 312.27) |
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)
#2D2C6D — rgb(45, 44, 109)
Deuteranopia (Green-blind)
#313665 — rgb(49, 54, 101)
Tritanopia (Blue-blind)
#47534D — rgb(71, 83, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 90%, 29%);
text
color: hsl(270, 90%, 29%);
border
border: 2px solid hsl(270, 90%, 29%);
gradient light
background: linear-gradient(to right, hsl(270, 90%, 49%), hsl(270, 90%, 29%));
gradient dark
background: linear-gradient(to right, hsl(270, 90%, 29%), hsl(270, 90%, 9%))
hex
background-color: #4A078D;
tailwind
bg-[hsl(270,90%,29%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 90%, 29%, 0.4);
css variable
--color-primary: hsl(270, 90%, 29%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 90%, 29%)?
HEX: #4A078D | RGB: rgb(74, 7, 141) | CMYK: 48%, 95%, 0%, 45% | HSV: 270°, 95%, 55%. Copy any format from the conversion table above.
What colors go well with #4A078D?
The complementary color is HSL(90, 90%, 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, 90%, 29%) in CSS?
As HSL: color: hsl(270, 90%, 29%); — As HEX: color: #4A078D; — As RGB: color: rgb(74, 7, 141); — Tailwind CSS: bg-[hsl(270,90%,29%)] — CSS variable: --color-primary: hsl(270, 90%, 29%);