HSL(281, 19%, 54%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(281,19%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 19%, 54%) | color: hsl(281, 19%, 54%) | |
| HEX | #9273A0 | color: #9273A0 | |
| RGB | rgb(146, 115, 160) | color: rgb(146, 115, 160) | |
| CMYK | cmyk(9%, 28%, 0%, 37%) | — | |
| HSV | hsv(281, 28%, 63%) | — | |
| HWB | hwb(281 45% 37%) | color: hwb(281 45% 37%) | |
| OKLCH | oklch(0.6017 0.0756 315.11) | color: oklch(0.6017 0.0756 315.11) | |
| Lab | lab(52.85 20.69 -19.59) | color: lab(52.85 20.69 -19.59) | |
| LCH | lch(52.85 28.49 316.56) | color: lch(52.85 28.49 316.56) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#858495 — rgb(133, 132, 149)
Deuteranopia (Green-blind)
#868993 — rgb(134, 137, 147)
Tritanopia (Blue-blind)
#908D8B — rgb(144, 141, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 19%, 54%);
text
color: hsl(281, 19%, 54%);
border
border: 2px solid hsl(281, 19%, 54%);
gradient light
background: linear-gradient(to right, hsl(281, 19%, 74%), hsl(281, 19%, 54%));
gradient dark
background: linear-gradient(to right, hsl(281, 19%, 54%), hsl(281, 19%, 34%))
hex
background-color: #9273A0;
tailwind
bg-[hsl(281,19%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 19%, 54%, 0.4);
css variable
--color-primary: hsl(281, 19%, 54%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 19%, 54%)?
HEX: #9273A0 | RGB: rgb(146, 115, 160) | CMYK: 9%, 28%, 0%, 37% | HSV: 281°, 28%, 63%. Copy any format from the conversion table above.
What colors go well with #9273A0?
The complementary color is HSL(101, 19%, 54%). 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, 19%, 54%) in CSS?
As HSL: color: hsl(281, 19%, 54%); — As HEX: color: #9273A0; — As RGB: color: rgb(146, 115, 160); — Tailwind CSS: bg-[hsl(281,19%,54%)] — CSS variable: --color-primary: hsl(281, 19%, 54%);