HSL(266, 90%, 48%)
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,90%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 90%, 48%) | color: hsl(266, 90%, 48%) | |
| HEX | #6C0CE9 | color: #6C0CE9 | |
| RGB | rgb(108, 12, 233) | color: rgb(108, 12, 233) | |
| CMYK | cmyk(54%, 95%, 0%, 9%) | — | |
| HSV | hsv(266, 95%, 91%) | — | |
| HWB | hwb(266 5% 9%) | color: hwb(266 5% 9%) | |
| OKLCH | oklch(0.4896 0.2706 290.67) | color: oklch(0.4896 0.2706 290.67) | |
| Lab | lab(36.62 75.56 -88.06) | color: lab(36.62 75.56 -88.06) | |
| LCH | lch(36.62 116.03 310.63) | color: lch(36.62 116.03 310.63) |
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)
#4242B4 — rgb(66, 66, 180)
Deuteranopia (Green-blind)
#484FA7 — rgb(72, 79, 167)
Tritanopia (Blue-blind)
#678980 — rgb(103, 137, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 90%, 48%);
text
color: hsl(266, 90%, 48%);
border
border: 2px solid hsl(266, 90%, 48%);
gradient light
background: linear-gradient(to right, hsl(266, 90%, 68%), hsl(266, 90%, 48%));
gradient dark
background: linear-gradient(to right, hsl(266, 90%, 48%), hsl(266, 90%, 28%))
hex
background-color: #6C0CE9;
tailwind
bg-[hsl(266,90%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 90%, 48%, 0.4);
css variable
--color-primary: hsl(266, 90%, 48%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 90%, 48%)?
HEX: #6C0CE9 | RGB: rgb(108, 12, 233) | CMYK: 54%, 95%, 0%, 9% | HSV: 266°, 95%, 91%. Copy any format from the conversion table above.
What colors go well with #6C0CE9?
The complementary color is HSL(86, 90%, 48%). 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, 90%, 48%) in CSS?
As HSL: color: hsl(266, 90%, 48%); — As HEX: color: #6C0CE9; — As RGB: color: rgb(108, 12, 233); — Tailwind CSS: bg-[hsl(266,90%,48%)] — CSS variable: --color-primary: hsl(266, 90%, 48%);