HSL(266, 88%, 53%)

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,88%,53%)]

Color Conversions

Format Value CSS Usage
HSL hsl(266, 88%, 53%) color: hsl(266, 88%, 53%)
HEX #791EF1 color: #791EF1
RGB rgb(121, 30, 241) color: rgb(121, 30, 241)
CMYK cmyk(50%, 88%, 0%, 5%)
HSV hsv(266, 88%, 95%)
HWB hwb(266 11% 5%) color: hwb(266 11% 5%)
OKLCH oklch(0.5193 0.271 293.22) color: oklch(0.5193 0.271 293.22)
Lab lab(40.15 74.96 -86.7) color: lab(40.15 74.96 -86.7)
LCH lch(40.15 114.61 310.85) color: lch(40.15 114.61 310.85)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 6.42:1
vs Black 3.27:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5251BE — rgb(82, 81, 190)

Deuteranopia (Green-blind)

#575EB2 — rgb(87, 94, 178)

Tritanopia (Blue-blind)

#74968D — rgb(116, 150, 141)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(266, 88%, 53%);

text

color: hsl(266, 88%, 53%);

border

border: 2px solid hsl(266, 88%, 53%);

gradient light

background: linear-gradient(to right, hsl(266, 88%, 73%), hsl(266, 88%, 53%));

gradient dark

background: linear-gradient(to right, hsl(266, 88%, 53%), hsl(266, 88%, 33%))

hex

background-color: #791EF1;

tailwind

bg-[hsl(266,88%,53%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(266, 88%, 53%, 0.4);

css variable

--color-primary: hsl(266, 88%, 53%);

Related Colors

Use Cases for Vivid Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(266, 88%, 53%)?

HEX: #791EF1 | RGB: rgb(121, 30, 241) | CMYK: 50%, 88%, 0%, 5% | HSV: 266°, 88%, 95%. Copy any format from the conversion table above.

What colors go well with #791EF1?

The complementary color is HSL(86, 88%, 53%). 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, 88%, 53%) in CSS?

As HSL: color: hsl(266, 88%, 53%); — As HEX: color: #791EF1; — As RGB: color: rgb(121, 30, 241); — Tailwind CSS: bg-[hsl(266,88%,53%)] — CSS variable: --color-primary: hsl(266, 88%, 53%);