HSL(267, 50%, 29%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,50%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 50%, 29%) color: hsl(267, 50%, 29%)
HEX #46256F color: #46256F
RGB rgb(70, 37, 111) color: rgb(70, 37, 111)
CMYK cmyk(37%, 67%, 0%, 56%)
HSV hsv(267, 67%, 44%)
HWB hwb(267 15% 56%) color: hwb(267 15% 56%)
OKLCH oklch(0.3492 0.123 300.68) color: oklch(0.3492 0.123 300.68)
Lab lab(22.91 32 -37.23) color: lab(22.91 32 -37.23)
LCH lch(22.91 49.09 310.68) color: lch(22.91 49.09 310.68)

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 11.97:1
vs Black 1.75: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)

#38375D — rgb(56, 55, 93)

Deuteranopia (Green-blind)

#3A3C59 — rgb(58, 60, 89)

Tritanopia (Blue-blind)

#444F4C — rgb(68, 79, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 50%, 29%);

text

color: hsl(267, 50%, 29%);

border

border: 2px solid hsl(267, 50%, 29%);

gradient light

background: linear-gradient(to right, hsl(267, 50%, 49%), hsl(267, 50%, 29%));

gradient dark

background: linear-gradient(to right, hsl(267, 50%, 29%), hsl(267, 50%, 9%))

hex

background-color: #46256F;

tailwind

bg-[hsl(267,50%,29%)]

box shadow

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

css variable

--color-primary: hsl(267, 50%, 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(267, 50%, 29%)?

HEX: #46256F | RGB: rgb(70, 37, 111) | CMYK: 37%, 67%, 0%, 56% | HSV: 267°, 67%, 44%. Copy any format from the conversion table above.

What colors go well with #46256F?

The complementary color is HSL(87, 50%, 29%). 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, 50%, 29%) in CSS?

As HSL: color: hsl(267, 50%, 29%); — As HEX: color: #46256F; — As RGB: color: rgb(70, 37, 111); — Tailwind CSS: bg-[hsl(267,50%,29%)] — CSS variable: --color-primary: hsl(267, 50%, 29%);