HSL(270, 70%, 68%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(270,70%,68%)]

Color Conversions

Format Value CSS Usage
HSL hsl(270, 70%, 68%) color: hsl(270, 70%, 68%)
HEX #AD74E7 color: #AD74E7
RGB rgb(173, 116, 231) color: rgb(173, 116, 231)
CMYK cmyk(25%, 50%, 0%, 9%)
HSV hsv(270, 50%, 91%)
HWB hwb(270 46% 9%) color: hwb(270 46% 9%)
OKLCH oklch(0.6658 0.1718 305.09) color: oklch(0.6658 0.1718 305.09)
Lab lab(59.11 44.28 -50.09) color: lab(59.11 44.28 -50.09)
LCH lch(59.11 66.86 311.48) color: lch(59.11 66.86 311.48)

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 3.27:1
vs Black 6.43:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#9494CB — rgb(148, 148, 203)

Deuteranopia (Green-blind)

#989CC5 — rgb(152, 156, 197)

Tritanopia (Blue-blind)

#AAB5B0 — rgb(170, 181, 176)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(270, 70%, 68%);

text

color: hsl(270, 70%, 68%);

border

border: 2px solid hsl(270, 70%, 68%);

gradient light

background: linear-gradient(to right, hsl(270, 70%, 88%), hsl(270, 70%, 68%));

gradient dark

background: linear-gradient(to right, hsl(270, 70%, 68%), hsl(270, 70%, 48%))

hex

background-color: #AD74E7;

tailwind

bg-[hsl(270,70%,68%)]

box shadow

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

css variable

--color-primary: hsl(270, 70%, 68%);

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, 70%, 68%)?

HEX: #AD74E7 | RGB: rgb(173, 116, 231) | CMYK: 25%, 50%, 0%, 9% | HSV: 270°, 50%, 91%. Copy any format from the conversion table above.

What colors go well with #AD74E7?

The complementary color is HSL(90, 70%, 68%). 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, 70%, 68%) in CSS?

As HSL: color: hsl(270, 70%, 68%); — As HEX: color: #AD74E7; — As RGB: color: rgb(173, 116, 231); — Tailwind CSS: bg-[hsl(270,70%,68%)] — CSS variable: --color-primary: hsl(270, 70%, 68%);