HSL(265, 65%, 29%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(265,65%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(265, 65%, 29%) color: hsl(265, 65%, 29%)
HEX #421A7A color: #421A7A
RGB rgb(66, 26, 122) color: rgb(66, 26, 122)
CMYK cmyk(46%, 79%, 0%, 52%)
HSV hsv(265, 79%, 48%)
HWB hwb(265 10% 52%) color: hwb(265 10% 52%)
OKLCH oklch(0.3389 0.1503 296.29) color: oklch(0.3389 0.1503 296.29)
Lab lab(21.22 40.08 -47.05) color: lab(21.22 40.08 -47.05)
LCH lch(21.22 61.81 310.43) color: lch(21.22 61.81 310.43)

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.65:1
vs Black 1.66: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)

#313063 — rgb(49, 48, 99)

Deuteranopia (Green-blind)

#33365D — rgb(51, 54, 93)

Tritanopia (Blue-blind)

#40504C — rgb(64, 80, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(265, 65%, 29%);

text

color: hsl(265, 65%, 29%);

border

border: 2px solid hsl(265, 65%, 29%);

gradient light

background: linear-gradient(to right, hsl(265, 65%, 49%), hsl(265, 65%, 29%));

gradient dark

background: linear-gradient(to right, hsl(265, 65%, 29%), hsl(265, 65%, 9%))

hex

background-color: #421A7A;

tailwind

bg-[hsl(265,65%,29%)]

box shadow

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

css variable

--color-primary: hsl(265, 65%, 29%);

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(265, 65%, 29%)?

HEX: #421A7A | RGB: rgb(66, 26, 122) | CMYK: 46%, 79%, 0%, 52% | HSV: 265°, 79%, 48%. Copy any format from the conversion table above.

What colors go well with #421A7A?

The complementary color is HSL(85, 65%, 29%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(265, 65%, 29%) in CSS?

As HSL: color: hsl(265, 65%, 29%); — As HEX: color: #421A7A; — As RGB: color: rgb(66, 26, 122); — Tailwind CSS: bg-[hsl(265,65%,29%)] — CSS variable: --color-primary: hsl(265, 65%, 29%);