HSL(257, 99%, 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,99%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(257, 99%, 55%) color: hsl(257, 99%, 55%)
HEX #5B1BFE color: #5B1BFE
RGB rgb(91, 27, 254) color: rgb(91, 27, 254)
CMYK cmyk(64%, 89%, 0%, 0%)
HSV hsv(257, 89%, 100%)
HWB hwb(257 11% 0%) color: hwb(257 11% 0%)
OKLCH oklch(0.5024 0.2867 281.38) color: oklch(0.5024 0.2867 281.38)
Lab lab(38.13 76.39 -97.46) color: lab(38.13 76.39 -97.46)
LCH lch(38.13 123.83 308.09) color: lch(38.13 123.83 308.09)

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.03: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)

#3F3FC7 — rgb(63, 63, 199)

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, 99%, 55%);

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #5B1BFE;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(257, 99%, 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, 99%, 55%)?

HEX: #5B1BFE | RGB: rgb(91, 27, 254) | CMYK: 64%, 89%, 0%, 0% | HSV: 257°, 89%, 100%. Copy any format from the conversion table above.

What colors go well with #5B1BFE?

The complementary color is HSL(77, 99%, 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, 99%, 55%) in CSS?

As HSL: color: hsl(257, 99%, 55%); — As HEX: color: #5B1BFE; — As RGB: color: rgb(91, 27, 254); — Tailwind CSS: bg-[hsl(257,99%,55%)] — CSS variable: --color-primary: hsl(257, 99%, 55%);