HSL(257, 100%, 55%)

Vivid Indigo — Indigo color

Adjust Color

Color Information

Color Name

Vivid Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(257,100%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 100%, 55%) color: hsl(257, 100%, 55%)
HEX #5B1AFF color: #5B1AFF
RGB rgb(91, 26, 255) color: rgb(91, 26, 255)
CMYK cmyk(64%, 90%, 0%, 0%)
HSV hsv(257, 90%, 100%)
HWB hwb(257 10% 0%) color: hwb(257 10% 0%)
OKLCH oklch(0.5029 0.2881 281.3) color: oklch(0.5029 0.2881 281.3)
Lab lab(38.17 76.87 -97.96) color: lab(38.17 76.87 -97.96)
LCH lch(38.17 124.52 308.12) color: lch(38.17 124.52 308.12)

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.92:1
vs Black 3.04: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)

#3F3EC8 — rgb(63, 62, 200)

Deuteranopia (Green-blind)

#4348BA — rgb(67, 72, 186)

Tritanopia (Blue-blind)

#589C92 — rgb(88, 156, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(257, 100%, 55%);

text

color: hsl(257, 100%, 55%);

border

border: 2px solid hsl(257, 100%, 55%);

gradient light

background: linear-gradient(to right, hsl(257, 100%, 75%), hsl(257, 100%, 55%));

gradient dark

background: linear-gradient(to right, hsl(257, 100%, 55%), hsl(257, 100%, 35%))

hex

background-color: #5B1AFF;

tailwind

bg-[hsl(257,100%,55%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(257, 100%, 55%, 0.4);

css variable

--color-primary: hsl(257, 100%, 55%);

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(257, 100%, 55%)?

HEX: #5B1AFF | RGB: rgb(91, 26, 255) | CMYK: 64%, 90%, 0%, 0% | HSV: 257°, 90%, 100%. Copy any format from the conversion table above.

What colors go well with #5B1AFF?

The complementary color is HSL(77, 100%, 55%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(257, 100%, 55%) in CSS?

As HSL: color: hsl(257, 100%, 55%); — As HEX: color: #5B1AFF; — As RGB: color: rgb(91, 26, 255); — Tailwind CSS: bg-[hsl(257,100%,55%)] — CSS variable: --color-primary: hsl(257, 100%, 55%);