HSL(282, 30%, 44%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,30%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 30%, 44%) | color: hsl(282, 30%, 44%) | |
| HEX | #7E4F92 | color: #7E4F92 | |
| RGB | rgb(126, 79, 146) | color: rgb(126, 79, 146) | |
| CMYK | cmyk(14%, 46%, 0%, 43%) | — | |
| HSV | hsv(282, 46%, 57%) | — | |
| HWB | hwb(282 31% 43%) | color: hwb(282 31% 43%) | |
| OKLCH | oklch(0.5078 0.1148 315.17) | color: oklch(0.5078 0.1148 315.17) | |
| Lab | lab(41.38 32.09 -29.23) | color: lab(41.38 32.09 -29.23) | |
| LCH | lch(41.38 43.41 317.67) | color: lch(41.38 43.41 317.67) |
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)
#6A6982 — rgb(106, 105, 130)
Deuteranopia (Green-blind)
#6C707E — rgb(108, 112, 126)
Tritanopia (Blue-blind)
#7C7572 — rgb(124, 117, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 30%, 44%);
text
color: hsl(282, 30%, 44%);
border
border: 2px solid hsl(282, 30%, 44%);
gradient light
background: linear-gradient(to right, hsl(282, 30%, 64%), hsl(282, 30%, 44%));
gradient dark
background: linear-gradient(to right, hsl(282, 30%, 44%), hsl(282, 30%, 24%))
hex
background-color: #7E4F92;
tailwind
bg-[hsl(282,30%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 30%, 44%, 0.4);
css variable
--color-primary: hsl(282, 30%, 44%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 30%, 44%)?
HEX: #7E4F92 | RGB: rgb(126, 79, 146) | CMYK: 14%, 46%, 0%, 43% | HSV: 282°, 46%, 57%. Copy any format from the conversion table above.
What colors go well with #7E4F92?
The complementary color is HSL(102, 30%, 44%). 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, 30%, 44%) in CSS?
As HSL: color: hsl(282, 30%, 44%); — As HEX: color: #7E4F92; — As RGB: color: rgb(126, 79, 146); — Tailwind CSS: bg-[hsl(282,30%,44%)] — CSS variable: --color-primary: hsl(282, 30%, 44%);