HSL(260, 60%, 38%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(260,60%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(260, 60%, 38%) color: hsl(260, 60%, 38%)
HEX #4E279B color: #4E279B
RGB rgb(78, 39, 155) color: rgb(78, 39, 155)
CMYK cmyk(50%, 75%, 0%, 39%)
HSV hsv(260, 75%, 61%)
HWB hwb(260 15% 39%) color: hwb(260 15% 39%)
OKLCH oklch(0.3989 0.1749 291.83) color: oklch(0.3989 0.1749 291.83)
Lab lab(27.94 44.9 -56.56) color: lab(27.94 44.9 -56.56)
LCH lch(27.94 72.22 308.44) color: lch(27.94 72.22 308.44)

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 10.06:1
vs Black 2.09:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#3D3D7F — rgb(61, 61, 127)

Deuteranopia (Green-blind)

#3F4278 — rgb(63, 66, 120)

Tritanopia (Blue-blind)

#4C6964 — rgb(76, 105, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(260, 60%, 38%);

text

color: hsl(260, 60%, 38%);

border

border: 2px solid hsl(260, 60%, 38%);

gradient light

background: linear-gradient(to right, hsl(260, 60%, 58%), hsl(260, 60%, 38%));

gradient dark

background: linear-gradient(to right, hsl(260, 60%, 38%), hsl(260, 60%, 18%))

hex

background-color: #4E279B;

tailwind

bg-[hsl(260,60%,38%)]

box shadow

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

css variable

--color-primary: hsl(260, 60%, 38%);

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, 60%, 38%)?

HEX: #4E279B | RGB: rgb(78, 39, 155) | CMYK: 50%, 75%, 0%, 39% | HSV: 260°, 75%, 61%. Copy any format from the conversion table above.

What colors go well with #4E279B?

The complementary color is HSL(80, 60%, 38%). 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, 60%, 38%) in CSS?

As HSL: color: hsl(260, 60%, 38%); — As HEX: color: #4E279B; — As RGB: color: rgb(78, 39, 155); — Tailwind CSS: bg-[hsl(260,60%,38%)] — CSS variable: --color-primary: hsl(260, 60%, 38%);