HSL(263, 52%, 38%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,52%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 52%, 38%) color: hsl(263, 52%, 38%)
HEX #552F93 color: #552F93
RGB rgb(85, 47, 147) color: rgb(85, 47, 147)
CMYK cmyk(42%, 68%, 0%, 42%)
HSV hsv(263, 68%, 58%)
HWB hwb(263 19% 42%) color: hwb(263 19% 42%)
OKLCH oklch(0.4104 0.1559 296.29) color: oklch(0.4104 0.1559 296.29)
Lab lab(29.59 39.75 -48.94) color: lab(29.59 39.75 -48.94)
LCH lch(29.59 63.05 309.08) color: lch(29.59 63.05 309.08)

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 9.48:1
vs Black 2.21: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)

#45447B — rgb(69, 68, 123)

Deuteranopia (Green-blind)

#474A75 — rgb(71, 74, 117)

Tritanopia (Blue-blind)

#536864 — rgb(83, 104, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 52%, 38%);

text

color: hsl(263, 52%, 38%);

border

border: 2px solid hsl(263, 52%, 38%);

gradient light

background: linear-gradient(to right, hsl(263, 52%, 58%), hsl(263, 52%, 38%));

gradient dark

background: linear-gradient(to right, hsl(263, 52%, 38%), hsl(263, 52%, 18%))

hex

background-color: #552F93;

tailwind

bg-[hsl(263,52%,38%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(263, 52%, 38%, 0.4);

css variable

--color-primary: hsl(263, 52%, 38%);

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(263, 52%, 38%)?

HEX: #552F93 | RGB: rgb(85, 47, 147) | CMYK: 42%, 68%, 0%, 42% | HSV: 263°, 68%, 58%. Copy any format from the conversion table above.

What colors go well with #552F93?

The complementary color is HSL(83, 52%, 38%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 52%, 38%) in CSS?

As HSL: color: hsl(263, 52%, 38%); — As HEX: color: #552F93; — As RGB: color: rgb(85, 47, 147); — Tailwind CSS: bg-[hsl(263,52%,38%)] — CSS variable: --color-primary: hsl(263, 52%, 38%);