HSL(281, 70%, 49%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,70%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 70%, 49%) | color: hsl(281, 70%, 49%) | |
| HEX | #9D25D4 | color: #9D25D4 | |
| RGB | rgb(157, 37, 212) | color: rgb(157, 37, 212) | |
| CMYK | cmyk(26%, 83%, 0%, 17%) | — | |
| HSV | hsv(281, 83%, 83%) | — | |
| HWB | hwb(281 14% 17%) | color: hwb(281 14% 17%) | |
| OKLCH | oklch(0.5424 0.2469 311.6) | color: oklch(0.5424 0.2469 311.6) | |
| Lab | lab(43.13 71.55 -65.09) | color: lab(43.13 71.55 -65.09) | |
| LCH | lch(43.13 96.73 317.71) | color: lch(43.13 96.73 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)
#6968AA — rgb(105, 104, 170)
Deuteranopia (Green-blind)
#7079A0 — rgb(112, 121, 160)
Tritanopia (Blue-blind)
#978881 — rgb(151, 136, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 70%, 49%);
text
color: hsl(281, 70%, 49%);
border
border: 2px solid hsl(281, 70%, 49%);
gradient light
background: linear-gradient(to right, hsl(281, 70%, 69%), hsl(281, 70%, 49%));
gradient dark
background: linear-gradient(to right, hsl(281, 70%, 49%), hsl(281, 70%, 29%))
hex
background-color: #9D25D4;
tailwind
bg-[hsl(281,70%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 70%, 49%, 0.4);
css variable
--color-primary: hsl(281, 70%, 49%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 70%, 49%)?
HEX: #9D25D4 | RGB: rgb(157, 37, 212) | CMYK: 26%, 83%, 0%, 17% | HSV: 281°, 83%, 83%. Copy any format from the conversion table above.
What colors go well with #9D25D4?
The complementary color is HSL(101, 70%, 49%). 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, 70%, 49%) in CSS?
As HSL: color: hsl(281, 70%, 49%); — As HEX: color: #9D25D4; — As RGB: color: rgb(157, 37, 212); — Tailwind CSS: bg-[hsl(281,70%,49%)] — CSS variable: --color-primary: hsl(281, 70%, 49%);