HSL(283, 80%, 45%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(283,80%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(283, 80%, 45%) | color: hsl(283, 80%, 45%) | |
| HEX | #9B17CF | color: #9B17CF | |
| RGB | rgb(155, 23, 207) | color: rgb(155, 23, 207) | |
| CMYK | cmyk(25%, 89%, 0%, 19%) | — | |
| HSV | hsv(283, 89%, 81%) | — | |
| HWB | hwb(283 9% 19%) | color: hwb(283 9% 19%) | |
| OKLCH | oklch(0.5283 0.2512 312.69) | color: oklch(0.5283 0.2512 312.69) | |
| Lab | lab(41.35 73.5 -65.11) | color: lab(41.35 73.5 -65.11) | |
| LCH | lch(41.35 98.19 318.46) | color: lch(41.35 98.19 318.46) |
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)
#6261A2 — rgb(98, 97, 162)
Deuteranopia (Green-blind)
#6A7398 — rgb(106, 115, 152)
Tritanopia (Blue-blind)
#947F78 — rgb(148, 127, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(283, 80%, 45%);
text
color: hsl(283, 80%, 45%);
border
border: 2px solid hsl(283, 80%, 45%);
gradient light
background: linear-gradient(to right, hsl(283, 80%, 65%), hsl(283, 80%, 45%));
gradient dark
background: linear-gradient(to right, hsl(283, 80%, 45%), hsl(283, 80%, 25%))
hex
background-color: #9B17CF;
tailwind
bg-[hsl(283,80%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(283, 80%, 45%, 0.4);
css variable
--color-primary: hsl(283, 80%, 45%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(283, 80%, 45%)?
HEX: #9B17CF | RGB: rgb(155, 23, 207) | CMYK: 25%, 89%, 0%, 19% | HSV: 283°, 89%, 81%. Copy any format from the conversion table above.
What colors go well with #9B17CF?
The complementary color is HSL(103, 80%, 45%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(283, 80%, 45%) in CSS?
As HSL: color: hsl(283, 80%, 45%); — As HEX: color: #9B17CF; — As RGB: color: rgb(155, 23, 207); — Tailwind CSS: bg-[hsl(283,80%,45%)] — CSS variable: --color-primary: hsl(283, 80%, 45%);