HSL(282, 83%, 36%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,83%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 83%, 36%) | color: hsl(282, 83%, 36%) | |
| HEX | #7A10A8 | color: #7A10A8 | |
| RGB | rgb(122, 16, 168) | color: rgb(122, 16, 168) | |
| CMYK | cmyk(27%, 90%, 0%, 34%) | — | |
| HSV | hsv(282, 90%, 66%) | — | |
| HWB | hwb(282 7% 34%) | color: hwb(282 7% 34%) | |
| OKLCH | oklch(0.4475 0.2145 311.39) | color: oklch(0.4475 0.2145 311.39) | |
| Lab | lab(32.56 62.55 -56.65) | color: lab(32.56 62.55 -56.65) | |
| LCH | lch(32.56 84.39 317.83) | color: lch(32.56 84.39 317.83) |
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)
#4C4B83 — rgb(76, 75, 131)
Deuteranopia (Green-blind)
#525A7A — rgb(82, 90, 122)
Tritanopia (Blue-blind)
#756660 — rgb(117, 102, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 83%, 36%);
text
color: hsl(282, 83%, 36%);
border
border: 2px solid hsl(282, 83%, 36%);
gradient light
background: linear-gradient(to right, hsl(282, 83%, 56%), hsl(282, 83%, 36%));
gradient dark
background: linear-gradient(to right, hsl(282, 83%, 36%), hsl(282, 83%, 16%))
hex
background-color: #7A10A8;
tailwind
bg-[hsl(282,83%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 83%, 36%, 0.4);
css variable
--color-primary: hsl(282, 83%, 36%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 83%, 36%)?
HEX: #7A10A8 | RGB: rgb(122, 16, 168) | CMYK: 27%, 90%, 0%, 34% | HSV: 282°, 90%, 66%. Copy any format from the conversion table above.
What colors go well with #7A10A8?
The complementary color is HSL(102, 83%, 36%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 83%, 36%) in CSS?
As HSL: color: hsl(282, 83%, 36%); — As HEX: color: #7A10A8; — As RGB: color: rgb(122, 16, 168); — Tailwind CSS: bg-[hsl(282,83%,36%)] — CSS variable: --color-primary: hsl(282, 83%, 36%);