HSL(267, 60%, 27%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,60%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 60%, 27%) color: hsl(267, 60%, 27%)
HEX #411C6E color: #411C6E
RGB rgb(65, 28, 110) color: rgb(65, 28, 110)
CMYK cmyk(41%, 75%, 0%, 57%)
HSV hsv(267, 75%, 43%)
HWB hwb(267 11% 57%) color: hwb(267 11% 57%)
OKLCH oklch(0.3293 0.1336 299.56) color: oklch(0.3293 0.1336 299.56)
Lab lab(20.36 35.59 -40.73) color: lab(20.36 35.59 -40.73)
LCH lch(20.36 54.09 311.15) color: lch(20.36 54.09 311.15)

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 12.99:1
vs Black 1.62: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)

#31315A — rgb(49, 49, 90)

Deuteranopia (Green-blind)

#333655 — rgb(51, 54, 85)

Tritanopia (Blue-blind)

#3F4A47 — rgb(63, 74, 71)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 60%, 27%);

text

color: hsl(267, 60%, 27%);

border

border: 2px solid hsl(267, 60%, 27%);

gradient light

background: linear-gradient(to right, hsl(267, 60%, 47%), hsl(267, 60%, 27%));

gradient dark

background: linear-gradient(to right, hsl(267, 60%, 27%), hsl(267, 60%, 7%))

hex

background-color: #411C6E;

tailwind

bg-[hsl(267,60%,27%)]

box shadow

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

css variable

--color-primary: hsl(267, 60%, 27%);

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(267, 60%, 27%)?

HEX: #411C6E | RGB: rgb(65, 28, 110) | CMYK: 41%, 75%, 0%, 57% | HSV: 267°, 75%, 43%. Copy any format from the conversion table above.

What colors go well with #411C6E?

The complementary color is HSL(87, 60%, 27%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 60%, 27%) in CSS?

As HSL: color: hsl(267, 60%, 27%); — As HEX: color: #411C6E; — As RGB: color: rgb(65, 28, 110); — Tailwind CSS: bg-[hsl(267,60%,27%)] — CSS variable: --color-primary: hsl(267, 60%, 27%);