HSL(270, 79%, 43%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(270,79%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(270, 79%, 43%) color: hsl(270, 79%, 43%)
HEX #6E17C4 color: #6E17C4
RGB rgb(110, 23, 196) color: rgb(110, 23, 196)
CMYK cmyk(44%, 88%, 0%, 23%)
HSV hsv(270, 88%, 77%)
HWB hwb(270 9% 23%) color: hwb(270 9% 23%)
OKLCH oklch(0.46 0.2326 298.53) color: oklch(0.46 0.2326 298.53)
Lab lab(33.8 65.38 -71.33) color: lab(33.8 65.38 -71.33)
LCH lch(33.8 96.76 312.51) color: lch(33.8 96.76 312.51)

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 8.13:1
vs Black 2.58: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)

#48489A — rgb(72, 72, 154)

Deuteranopia (Green-blind)

#4D5490 — rgb(77, 84, 144)

Tritanopia (Blue-blind)

#6A7972 — rgb(106, 121, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(270, 79%, 43%);

text

color: hsl(270, 79%, 43%);

border

border: 2px solid hsl(270, 79%, 43%);

gradient light

background: linear-gradient(to right, hsl(270, 79%, 63%), hsl(270, 79%, 43%));

gradient dark

background: linear-gradient(to right, hsl(270, 79%, 43%), hsl(270, 79%, 23%))

hex

background-color: #6E17C4;

tailwind

bg-[hsl(270,79%,43%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(270, 79%, 43%, 0.4);

css variable

--color-primary: hsl(270, 79%, 43%);

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(270, 79%, 43%)?

HEX: #6E17C4 | RGB: rgb(110, 23, 196) | CMYK: 44%, 88%, 0%, 23% | HSV: 270°, 88%, 77%. Copy any format from the conversion table above.

What colors go well with #6E17C4?

The complementary color is HSL(90, 79%, 43%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(270, 79%, 43%) in CSS?

As HSL: color: hsl(270, 79%, 43%); — As HEX: color: #6E17C4; — As RGB: color: rgb(110, 23, 196); — Tailwind CSS: bg-[hsl(270,79%,43%)] — CSS variable: --color-primary: hsl(270, 79%, 43%);