HSL(281, 72%, 30%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,72%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 72%, 30%) | color: hsl(281, 72%, 30%) | |
| HEX | #611584 | color: #611584 | |
| RGB | rgb(97, 21, 132) | color: rgb(97, 21, 132) | |
| CMYK | cmyk(27%, 84%, 0%, 48%) | — | |
| HSV | hsv(281, 84%, 52%) | — | |
| HWB | hwb(281 8% 48%) | color: hwb(281 8% 48%) | |
| OKLCH | oklch(0.3847 0.1725 311.73) | color: oklch(0.3847 0.1725 311.73) | |
| Lab | lab(25.99 49.91 -45.4) | color: lab(25.99 49.91 -45.4) | |
| LCH | lch(25.99 67.47 317.71) | color: lch(25.99 67.47 317.71) |
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)
#403F69 — rgb(64, 63, 105)
Deuteranopia (Green-blind)
#454A63 — rgb(69, 74, 99)
Tritanopia (Blue-blind)
#5D544F — rgb(93, 84, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 72%, 30%);
text
color: hsl(281, 72%, 30%);
border
border: 2px solid hsl(281, 72%, 30%);
gradient light
background: linear-gradient(to right, hsl(281, 72%, 50%), hsl(281, 72%, 30%));
gradient dark
background: linear-gradient(to right, hsl(281, 72%, 30%), hsl(281, 72%, 10%))
hex
background-color: #611584;
tailwind
bg-[hsl(281,72%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 72%, 30%, 0.4);
css variable
--color-primary: hsl(281, 72%, 30%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 72%, 30%)?
HEX: #611584 | RGB: rgb(97, 21, 132) | CMYK: 27%, 84%, 0%, 48% | HSV: 281°, 84%, 52%. Copy any format from the conversion table above.
What colors go well with #611584?
The complementary color is HSL(101, 72%, 30%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 72%, 30%) in CSS?
As HSL: color: hsl(281, 72%, 30%); — As HEX: color: #611584; — As RGB: color: rgb(97, 21, 132); — Tailwind CSS: bg-[hsl(281,72%,30%)] — CSS variable: --color-primary: hsl(281, 72%, 30%);