HSL(260, 40%, 48%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(260,40%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(260, 40%, 48%) color: hsl(260, 40%, 48%)
HEX #6A49AB color: #6A49AB
RGB rgb(106, 73, 171) color: rgb(106, 73, 171)
CMYK cmyk(38%, 57%, 0%, 33%)
HSV hsv(260, 57%, 67%)
HWB hwb(260 29% 33%) color: hwb(260 29% 33%)
OKLCH oklch(0.491 0.1509 295.89) color: oklch(0.491 0.1509 295.89)
Lab lab(39.19 36.31 -47.81) color: lab(39.19 36.31 -47.81)
LCH lch(39.19 60.04 307.22) color: lch(39.19 60.04 307.22)

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.66:1
vs Black 3.15: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)

#5C5B93 — rgb(92, 91, 147)

Deuteranopia (Green-blind)

#5E608E — rgb(94, 96, 142)

Tritanopia (Blue-blind)

#68817C — rgb(104, 129, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(260, 40%, 48%);

text

color: hsl(260, 40%, 48%);

border

border: 2px solid hsl(260, 40%, 48%);

gradient light

background: linear-gradient(to right, hsl(260, 40%, 68%), hsl(260, 40%, 48%));

gradient dark

background: linear-gradient(to right, hsl(260, 40%, 48%), hsl(260, 40%, 28%))

hex

background-color: #6A49AB;

tailwind

bg-[hsl(260,40%,48%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(260, 40%, 48%, 0.4);

css variable

--color-primary: hsl(260, 40%, 48%);

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(260, 40%, 48%)?

HEX: #6A49AB | RGB: rgb(106, 73, 171) | CMYK: 38%, 57%, 0%, 33% | HSV: 260°, 57%, 67%. Copy any format from the conversion table above.

What colors go well with #6A49AB?

The complementary color is HSL(80, 40%, 48%). For a triadic harmony, use hues 260°, 20°, and 140°. For analogous combinations, try hues 230° and 290°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(260, 40%, 48%) in CSS?

As HSL: color: hsl(260, 40%, 48%); — As HEX: color: #6A49AB; — As RGB: color: rgb(106, 73, 171); — Tailwind CSS: bg-[hsl(260,40%,48%)] — CSS variable: --color-primary: hsl(260, 40%, 48%);