HSL(267, 35%, 42%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,35%,42%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 35%, 42%) color: hsl(267, 35%, 42%)
HEX #674691 color: #674691
RGB rgb(103, 70, 145) color: rgb(103, 70, 145)
CMYK cmyk(29%, 52%, 0%, 43%)
HSV hsv(266, 52%, 57%)
HWB hwb(266 27% 43%) color: hwb(266 27% 43%)
OKLCH oklch(0.4657 0.121 302.25) color: oklch(0.4657 0.121 302.25)
Lab lab(36.57 30.31 -36.39) color: lab(36.57 30.31 -36.39)
LCH lch(36.57 47.36 309.79) color: lch(36.57 47.36 309.79)

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 7.34:1
vs Black 2.86: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)

#59587F — rgb(89, 88, 127)

Deuteranopia (Green-blind)

#5B5D7B — rgb(91, 93, 123)

Tritanopia (Blue-blind)

#65716D — rgb(101, 113, 109)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 35%, 42%);

text

color: hsl(267, 35%, 42%);

border

border: 2px solid hsl(267, 35%, 42%);

gradient light

background: linear-gradient(to right, hsl(267, 35%, 62%), hsl(267, 35%, 42%));

gradient dark

background: linear-gradient(to right, hsl(267, 35%, 42%), hsl(267, 35%, 22%))

hex

background-color: #674691;

tailwind

bg-[hsl(267,35%,42%)]

box shadow

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

css variable

--color-primary: hsl(267, 35%, 42%);

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, 35%, 42%)?

HEX: #674691 | RGB: rgb(103, 70, 145) | CMYK: 29%, 52%, 0%, 43% | HSV: 266°, 52%, 57%. Copy any format from the conversion table above.

What colors go well with #674691?

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

As HSL: color: hsl(267, 35%, 42%); — As HEX: color: #674691; — As RGB: color: rgb(103, 70, 145); — Tailwind CSS: bg-[hsl(267,35%,42%)] — CSS variable: --color-primary: hsl(267, 35%, 42%);