HSL(277, 67%, 34%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(277,67%,34%)]

Color Conversions

Format Value CSS Usage
HSL hsl(277, 67%, 34%) color: hsl(277, 67%, 34%)
HEX #641D91 color: #641D91
RGB rgb(100, 29, 145) color: rgb(100, 29, 145)
CMYK cmyk(31%, 80%, 0%, 43%)
HSV hsv(277, 80%, 57%)
HWB hwb(277 11% 43%) color: hwb(277 11% 43%)
OKLCH oklch(0.4062 0.1781 307.88) color: oklch(0.4062 0.1781 307.88)
Lab lab(28.47 50.55 -49.45) color: lab(28.47 50.55 -49.45)
LCH lch(28.47 70.71 315.63) color: lch(28.47 70.71 315.63)

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 9.88:1
vs Black 2.13: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)

#454575 — rgb(69, 69, 117)

Deuteranopia (Green-blind)

#494F6E — rgb(73, 79, 110)

Tritanopia (Blue-blind)

#605F5A — rgb(96, 95, 90)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(277, 67%, 34%);

text

color: hsl(277, 67%, 34%);

border

border: 2px solid hsl(277, 67%, 34%);

gradient light

background: linear-gradient(to right, hsl(277, 67%, 54%), hsl(277, 67%, 34%));

gradient dark

background: linear-gradient(to right, hsl(277, 67%, 34%), hsl(277, 67%, 14%))

hex

background-color: #641D91;

tailwind

bg-[hsl(277,67%,34%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(277, 67%, 34%, 0.4);

css variable

--color-primary: hsl(277, 67%, 34%);

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(277, 67%, 34%)?

HEX: #641D91 | RGB: rgb(100, 29, 145) | CMYK: 31%, 80%, 0%, 43% | HSV: 277°, 80%, 57%. Copy any format from the conversion table above.

What colors go well with #641D91?

The complementary color is HSL(97, 67%, 34%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(277, 67%, 34%) in CSS?

As HSL: color: hsl(277, 67%, 34%); — As HEX: color: #641D91; — As RGB: color: rgb(100, 29, 145); — Tailwind CSS: bg-[hsl(277,67%,34%)] — CSS variable: --color-primary: hsl(277, 67%, 34%);