HSL(282, 80%, 30%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,80%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 80%, 30%) | color: hsl(282, 80%, 30%) | |
| HEX | #650F8A | color: #650F8A | |
| RGB | rgb(101, 15, 138) | color: rgb(101, 15, 138) | |
| CMYK | cmyk(27%, 89%, 0%, 46%) | — | |
| HSV | hsv(282, 89%, 54%) | — | |
| HWB | hwb(282 6% 46%) | color: hwb(282 6% 46%) | |
| OKLCH | oklch(0.3916 0.1837 311.91) | color: oklch(0.3916 0.1837 311.91) | |
| Lab | lab(26.57 53.51 -48.18) | color: lab(26.57 53.51 -48.18) | |
| LCH | lch(26.57 72 318) | color: lch(26.57 72 318) |
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)
#403F6C — rgb(64, 63, 108)
Deuteranopia (Green-blind)
#454B65 — rgb(69, 75, 101)
Tritanopia (Blue-blind)
#615550 — rgb(97, 85, 80)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 80%, 30%);
text
color: hsl(282, 80%, 30%);
border
border: 2px solid hsl(282, 80%, 30%);
gradient light
background: linear-gradient(to right, hsl(282, 80%, 50%), hsl(282, 80%, 30%));
gradient dark
background: linear-gradient(to right, hsl(282, 80%, 30%), hsl(282, 80%, 10%))
hex
background-color: #650F8A;
tailwind
bg-[hsl(282,80%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 80%, 30%, 0.4);
css variable
--color-primary: hsl(282, 80%, 30%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 80%, 30%)?
HEX: #650F8A | RGB: rgb(101, 15, 138) | CMYK: 27%, 89%, 0%, 46% | HSV: 282°, 89%, 54%. Copy any format from the conversion table above.
What colors go well with #650F8A?
The complementary color is HSL(102, 80%, 30%). 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, 80%, 30%) in CSS?
As HSL: color: hsl(282, 80%, 30%); — As HEX: color: #650F8A; — As RGB: color: rgb(101, 15, 138); — Tailwind CSS: bg-[hsl(282,80%,30%)] — CSS variable: --color-primary: hsl(282, 80%, 30%);