HSL(266, 82%, 47%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,82%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 82%, 47%) | color: hsl(266, 82%, 47%) | |
| HEX | #6B16DA | color: #6B16DA | |
| RGB | rgb(107, 22, 218) | color: rgb(107, 22, 218) | |
| CMYK | cmyk(51%, 90%, 0%, 15%) | — | |
| HSV | hsv(266, 90%, 85%) | — | |
| HWB | hwb(266 9% 15%) | color: hwb(266 9% 15%) | |
| OKLCH | oklch(0.4773 0.2532 292.72) | color: oklch(0.4773 0.2532 292.72) | |
| Lab | lab(35.52 70.29 -81.29) | color: lab(35.52 70.29 -81.29) | |
| LCH | lch(35.52 107.47 310.85) | color: lch(35.52 107.47 310.85) |
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)
#4645AB — rgb(70, 69, 171)
Deuteranopia (Green-blind)
#4B529F — rgb(75, 82, 159)
Tritanopia (Blue-blind)
#67857D — rgb(103, 133, 125)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 82%, 47%);
text
color: hsl(266, 82%, 47%);
border
border: 2px solid hsl(266, 82%, 47%);
gradient light
background: linear-gradient(to right, hsl(266, 82%, 67%), hsl(266, 82%, 47%));
gradient dark
background: linear-gradient(to right, hsl(266, 82%, 47%), hsl(266, 82%, 27%))
hex
background-color: #6B16DA;
tailwind
bg-[hsl(266,82%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 82%, 47%, 0.4);
css variable
--color-primary: hsl(266, 82%, 47%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 82%, 47%)?
HEX: #6B16DA | RGB: rgb(107, 22, 218) | CMYK: 51%, 90%, 0%, 15% | HSV: 266°, 90%, 85%. Copy any format from the conversion table above.
What colors go well with #6B16DA?
The complementary color is HSL(86, 82%, 47%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 82%, 47%) in CSS?
As HSL: color: hsl(266, 82%, 47%); — As HEX: color: #6B16DA; — As RGB: color: rgb(107, 22, 218); — Tailwind CSS: bg-[hsl(266,82%,47%)] — CSS variable: --color-primary: hsl(266, 82%, 47%);