HSL(274, 50%, 30%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(274, 50%, 30%) color: hsl(274, 50%, 30%)
HEX #522673 color: #522673
RGB rgb(82, 38, 115) color: rgb(82, 38, 115)
CMYK cmyk(29%, 67%, 0%, 55%)
HSV hsv(274, 67%, 45%)
HWB hwb(274 15% 55%) color: hwb(274 15% 55%)
OKLCH oklch(0.3689 0.1295 307.5) color: oklch(0.3689 0.1295 307.5)
Lab lab(25.01 35.45 -36.32) color: lab(25.01 35.45 -36.32)
LCH lch(25.01 50.75 314.31) color: lch(25.01 50.75 314.31)

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.15:1
vs Black 1.88: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)

#3F3F60 — rgb(63, 63, 96)

Deuteranopia (Green-blind)

#42455C — rgb(66, 69, 92)

Tritanopia (Blue-blind)

#50524E — rgb(80, 82, 78)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #522673;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(274, 50%, 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, 50%, 30%)?

HEX: #522673 | RGB: rgb(82, 38, 115) | CMYK: 29%, 67%, 0%, 55% | HSV: 274°, 67%, 45%. Copy any format from the conversion table above.

What colors go well with #522673?

The complementary color is HSL(94, 50%, 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, 50%, 30%) in CSS?

As HSL: color: hsl(274, 50%, 30%); — As HEX: color: #522673; — As RGB: color: rgb(82, 38, 115); — Tailwind CSS: bg-[hsl(274,50%,30%)] — CSS variable: --color-primary: hsl(274, 50%, 30%);