HSL(281, 65%, 62%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(281,65%,62%)]

Color Conversions

Format Value CSS Usage
HSL hsl(281, 65%, 62%) color: hsl(281, 65%, 62%)
HEX #B55FDD color: #B55FDD
RGB rgb(181, 95, 221) color: rgb(181, 95, 221)
CMYK cmyk(18%, 57%, 0%, 13%)
HSV hsv(281, 57%, 87%)
HWB hwb(281 37% 13%) color: hwb(281 37% 13%)
OKLCH oklch(0.6381 0.1956 313.73) color: oklch(0.6381 0.1956 313.73)
Lab lab(55.31 55.06 -50.46) color: lab(55.31 55.06 -50.46)
LCH lch(55.31 74.68 317.5) color: lch(55.31 74.68 317.5)

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 3.72:1
vs Black 5.65:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#908FBF — rgb(144, 143, 191)

Deuteranopia (Green-blind)

#959BB7 — rgb(149, 155, 183)

Tritanopia (Blue-blind)

#B1A6A1 — rgb(177, 166, 161)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(281, 65%, 62%);

text

color: hsl(281, 65%, 62%);

border

border: 2px solid hsl(281, 65%, 62%);

gradient light

background: linear-gradient(to right, hsl(281, 65%, 82%), hsl(281, 65%, 62%));

gradient dark

background: linear-gradient(to right, hsl(281, 65%, 62%), hsl(281, 65%, 42%))

hex

background-color: #B55FDD;

tailwind

bg-[hsl(281,65%,62%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(281, 65%, 62%, 0.4);

css variable

--color-primary: hsl(281, 65%, 62%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(281, 65%, 62%)?

HEX: #B55FDD | RGB: rgb(181, 95, 221) | CMYK: 18%, 57%, 0%, 13% | HSV: 281°, 57%, 87%. Copy any format from the conversion table above.

What colors go well with #B55FDD?

The complementary color is HSL(101, 65%, 62%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(281, 65%, 62%) in CSS?

As HSL: color: hsl(281, 65%, 62%); — As HEX: color: #B55FDD; — As RGB: color: rgb(181, 95, 221); — Tailwind CSS: bg-[hsl(281,65%,62%)] — CSS variable: --color-primary: hsl(281, 65%, 62%);