HSL(270, 50%, 28%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,50%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 50%, 28%) | color: hsl(270, 50%, 28%) | |
| HEX | #47246B | color: #47246B | |
| RGB | rgb(71, 36, 107) | color: rgb(71, 36, 107) | |
| CMYK | cmyk(34%, 66%, 0%, 58%) | — | |
| HSV | hsv(270, 66%, 42%) | — | |
| HWB | hwb(270 14% 58%) | color: hwb(270 14% 58%) | |
| OKLCH | oklch(0.3458 0.1197 303.38) | color: oklch(0.3458 0.1197 303.38) | |
| Lab | lab(22.52 31.73 -35.25) | color: lab(22.52 31.73 -35.25) | |
| LCH | lch(22.52 47.43 311.99) | color: lch(22.52 47.43 311.99) |
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)
#38385A — rgb(56, 56, 90)
Deuteranopia (Green-blind)
#3A3D56 — rgb(58, 61, 86)
Tritanopia (Blue-blind)
#454C49 — rgb(69, 76, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 50%, 28%);
text
color: hsl(270, 50%, 28%);
border
border: 2px solid hsl(270, 50%, 28%);
gradient light
background: linear-gradient(to right, hsl(270, 50%, 48%), hsl(270, 50%, 28%));
gradient dark
background: linear-gradient(to right, hsl(270, 50%, 28%), hsl(270, 50%, 8%))
hex
background-color: #47246B;
tailwind
bg-[hsl(270,50%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 50%, 28%, 0.4);
css variable
--color-primary: hsl(270, 50%, 28%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 50%, 28%)?
HEX: #47246B | RGB: rgb(71, 36, 107) | CMYK: 34%, 66%, 0%, 58% | HSV: 270°, 66%, 42%. Copy any format from the conversion table above.
What colors go well with #47246B?
The complementary color is HSL(90, 50%, 28%). 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, 50%, 28%) in CSS?
As HSL: color: hsl(270, 50%, 28%); — As HEX: color: #47246B; — As RGB: color: rgb(71, 36, 107); — Tailwind CSS: bg-[hsl(270,50%,28%)] — CSS variable: --color-primary: hsl(270, 50%, 28%);