HSL(274, 79%, 30%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(274,79%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(274, 79%, 30%) color: hsl(274, 79%, 30%)
HEX #551089 color: #551089
RGB rgb(85, 16, 137) color: rgb(85, 16, 137)
CMYK cmyk(38%, 88%, 0%, 46%)
HSV hsv(274, 88%, 54%)
HWB hwb(274 6% 46%) color: hwb(274 6% 46%)
OKLCH oklch(0.3685 0.1781 303.8) color: oklch(0.3685 0.1781 303.8)
Lab lab(24.03 50.6 -51.82) color: lab(24.03 50.6 -51.82)
LCH lch(24.03 72.43 314.32) color: lch(24.03 72.43 314.32)

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 11.53:1
vs Black 1.82: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)

#37376C — rgb(55, 55, 108)

Deuteranopia (Green-blind)

#3B4065 — rgb(59, 64, 101)

Tritanopia (Blue-blind)

#525550 — rgb(82, 85, 80)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(274, 79%, 30%);

text

color: hsl(274, 79%, 30%);

border

border: 2px solid hsl(274, 79%, 30%);

gradient light

background: linear-gradient(to right, hsl(274, 79%, 50%), hsl(274, 79%, 30%));

gradient dark

background: linear-gradient(to right, hsl(274, 79%, 30%), hsl(274, 79%, 10%))

hex

background-color: #551089;

tailwind

bg-[hsl(274,79%,30%)]

box shadow

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

css variable

--color-primary: hsl(274, 79%, 30%);

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(274, 79%, 30%)?

HEX: #551089 | RGB: rgb(85, 16, 137) | CMYK: 38%, 88%, 0%, 46% | HSV: 274°, 88%, 54%. Copy any format from the conversion table above.

What colors go well with #551089?

The complementary color is HSL(94, 79%, 30%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(274, 79%, 30%) in CSS?

As HSL: color: hsl(274, 79%, 30%); — As HEX: color: #551089; — As RGB: color: rgb(85, 16, 137); — Tailwind CSS: bg-[hsl(274,79%,30%)] — CSS variable: --color-primary: hsl(274, 79%, 30%);