HSL(272, 70%, 67%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(272,70%,67%)]

Color Conversions

Format Value CSS Usage
HSL hsl(272, 70%, 67%) color: hsl(272, 70%, 67%)
HEX #AF70E6 color: #AF70E6
RGB rgb(175, 112, 230) color: rgb(175, 112, 230)
CMYK cmyk(24%, 51%, 0%, 10%)
HSV hsv(272, 51%, 90%)
HWB hwb(272 44% 10%) color: hwb(272 44% 10%)
OKLCH oklch(0.6611 0.1774 306.85) color: oklch(0.6611 0.1774 306.85)
Lab lab(58.43 46.73 -50.59) color: lab(58.43 46.73 -50.59)
LCH lch(58.43 68.87 312.73) color: lch(58.43 68.87 312.73)

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.34:1
vs Black 6.28: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)

#9493C9 — rgb(148, 147, 201)

Deuteranopia (Green-blind)

#979CC3 — rgb(151, 156, 195)

Tritanopia (Blue-blind)

#ACB3AE — rgb(172, 179, 174)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(272, 70%, 67%);

text

color: hsl(272, 70%, 67%);

border

border: 2px solid hsl(272, 70%, 67%);

gradient light

background: linear-gradient(to right, hsl(272, 70%, 87%), hsl(272, 70%, 67%));

gradient dark

background: linear-gradient(to right, hsl(272, 70%, 67%), hsl(272, 70%, 47%))

hex

background-color: #AF70E6;

tailwind

bg-[hsl(272,70%,67%)]

box shadow

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

css variable

--color-primary: hsl(272, 70%, 67%);

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(272, 70%, 67%)?

HEX: #AF70E6 | RGB: rgb(175, 112, 230) | CMYK: 24%, 51%, 0%, 10% | HSV: 272°, 51%, 90%. Copy any format from the conversion table above.

What colors go well with #AF70E6?

The complementary color is HSL(92, 70%, 67%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(272, 70%, 67%) in CSS?

As HSL: color: hsl(272, 70%, 67%); — As HEX: color: #AF70E6; — As RGB: color: rgb(175, 112, 230); — Tailwind CSS: bg-[hsl(272,70%,67%)] — CSS variable: --color-primary: hsl(272, 70%, 67%);