HSL(281, 85%, 45%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,85%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 85%, 45%) | color: hsl(281, 85%, 45%) | |
| HEX | #9711D4 | color: #9711D4 | |
| RGB | rgb(151, 17, 212) | color: rgb(151, 17, 212) | |
| CMYK | cmyk(29%, 92%, 0%, 17%) | — | |
| HSV | hsv(281, 92%, 83%) | — | |
| HWB | hwb(281 7% 17%) | color: hwb(281 7% 17%) | |
| OKLCH | oklch(0.5244 0.2569 310.26) | color: oklch(0.5244 0.2569 310.26) | |
| Lab | lab(40.79 74.91 -68.95) | color: lab(40.79 74.91 -68.95) | |
| LCH | lch(40.79 101.81 317.37) | color: lch(40.79 101.81 317.37) |
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)
#5D5CA5 — rgb(93, 92, 165)
Deuteranopia (Green-blind)
#656F9A — rgb(101, 111, 154)
Tritanopia (Blue-blind)
#908077 — rgb(144, 128, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 85%, 45%);
text
color: hsl(281, 85%, 45%);
border
border: 2px solid hsl(281, 85%, 45%);
gradient light
background: linear-gradient(to right, hsl(281, 85%, 65%), hsl(281, 85%, 45%));
gradient dark
background: linear-gradient(to right, hsl(281, 85%, 45%), hsl(281, 85%, 25%))
hex
background-color: #9711D4;
tailwind
bg-[hsl(281,85%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 85%, 45%, 0.4);
css variable
--color-primary: hsl(281, 85%, 45%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 85%, 45%)?
HEX: #9711D4 | RGB: rgb(151, 17, 212) | CMYK: 29%, 92%, 0%, 17% | HSV: 281°, 92%, 83%. Copy any format from the conversion table above.
What colors go well with #9711D4?
The complementary color is HSL(101, 85%, 45%). 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, 85%, 45%) in CSS?
As HSL: color: hsl(281, 85%, 45%); — As HEX: color: #9711D4; — As RGB: color: rgb(151, 17, 212); — Tailwind CSS: bg-[hsl(281,85%,45%)] — CSS variable: --color-primary: hsl(281, 85%, 45%);