HSL(263, 48%, 37%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,48%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 48%, 37%) color: hsl(263, 48%, 37%)
HEX #54318C color: #54318C
RGB rgb(84, 49, 140) color: rgb(84, 49, 140)
CMYK cmyk(40%, 65%, 0%, 45%)
HSV hsv(263, 65%, 55%)
HWB hwb(263 19% 45%) color: hwb(263 19% 45%)
OKLCH oklch(0.4067 0.1443 297.25) color: oklch(0.4067 0.1443 297.25)
Lab lab(29.35 36.47 -45.03) color: lab(29.35 36.47 -45.03)
LCH lch(29.35 57.95 309) color: lch(29.35 57.95 309)

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.57:1
vs Black 2.19: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)

#454576 — rgb(69, 69, 118)

Deuteranopia (Green-blind)

#474A71 — rgb(71, 74, 113)

Tritanopia (Blue-blind)

#526561 — rgb(82, 101, 97)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 48%, 37%);

text

color: hsl(263, 48%, 37%);

border

border: 2px solid hsl(263, 48%, 37%);

gradient light

background: linear-gradient(to right, hsl(263, 48%, 57%), hsl(263, 48%, 37%));

gradient dark

background: linear-gradient(to right, hsl(263, 48%, 37%), hsl(263, 48%, 17%))

hex

background-color: #54318C;

tailwind

bg-[hsl(263,48%,37%)]

box shadow

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

css variable

--color-primary: hsl(263, 48%, 37%);

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, 48%, 37%)?

HEX: #54318C | RGB: rgb(84, 49, 140) | CMYK: 40%, 65%, 0%, 45% | HSV: 263°, 65%, 55%. Copy any format from the conversion table above.

What colors go well with #54318C?

The complementary color is HSL(83, 48%, 37%). 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, 48%, 37%) in CSS?

As HSL: color: hsl(263, 48%, 37%); — As HEX: color: #54318C; — As RGB: color: rgb(84, 49, 140); — Tailwind CSS: bg-[hsl(263,48%,37%)] — CSS variable: --color-primary: hsl(263, 48%, 37%);