HSL(265, 63%, 38%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(265,63%,38%)]

Color Conversions

Format Value CSS Usage
HSL hsl(265, 63%, 38%) color: hsl(265, 63%, 38%)
HEX #57249E color: #57249E
RGB rgb(87, 36, 158) color: rgb(87, 36, 158)
CMYK cmyk(45%, 77%, 0%, 38%)
HSV hsv(265, 77%, 62%)
HWB hwb(265 14% 38%) color: hwb(265 14% 38%)
OKLCH oklch(0.4081 0.182 296.28) color: oklch(0.4081 0.182 296.28)
Lab lab(28.79 48.6 -56.97) color: lab(28.79 48.6 -56.97)
LCH lch(28.79 74.88 310.47) color: lch(28.79 74.88 310.47)

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.76:1
vs Black 2.15: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)

#414080 — rgb(65, 64, 128)

Deuteranopia (Green-blind)

#444879 — rgb(68, 72, 121)

Tritanopia (Blue-blind)

#546964 — rgb(84, 105, 100)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(265, 63%, 38%);

text

color: hsl(265, 63%, 38%);

border

border: 2px solid hsl(265, 63%, 38%);

gradient light

background: linear-gradient(to right, hsl(265, 63%, 58%), hsl(265, 63%, 38%));

gradient dark

background: linear-gradient(to right, hsl(265, 63%, 38%), hsl(265, 63%, 18%))

hex

background-color: #57249E;

tailwind

bg-[hsl(265,63%,38%)]

box shadow

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

css variable

--color-primary: hsl(265, 63%, 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(265, 63%, 38%)?

HEX: #57249E | RGB: rgb(87, 36, 158) | CMYK: 45%, 77%, 0%, 38% | HSV: 265°, 77%, 62%. Copy any format from the conversion table above.

What colors go well with #57249E?

The complementary color is HSL(85, 63%, 38%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(265, 63%, 38%) in CSS?

As HSL: color: hsl(265, 63%, 38%); — As HEX: color: #57249E; — As RGB: color: rgb(87, 36, 158); — Tailwind CSS: bg-[hsl(265,63%,38%)] — CSS variable: --color-primary: hsl(265, 63%, 38%);