HSL(264, 65%, 37%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(264,65%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(264, 65%, 37%) color: hsl(264, 65%, 37%)
HEX #52219C color: #52219C
RGB rgb(82, 33, 156) color: rgb(82, 33, 156)
CMYK cmyk(47%, 79%, 0%, 39%)
HSV hsv(264, 79%, 61%)
HWB hwb(264 13% 39%) color: hwb(264 13% 39%)
OKLCH oklch(0.3973 0.1824 294.59) color: oklch(0.3973 0.1824 294.59)
Lab lab(27.52 48.62 -57.85) color: lab(27.52 48.62 -57.85)
LCH lch(27.52 75.57 310.05) color: lch(27.52 75.57 310.05)

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 10.21:1
vs Black 2.06: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)

#3D3C7E — rgb(61, 60, 126)

Deuteranopia (Green-blind)

#404377 — rgb(64, 67, 119)

Tritanopia (Blue-blind)

#506762 — rgb(80, 103, 98)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(264, 65%, 37%);

text

color: hsl(264, 65%, 37%);

border

border: 2px solid hsl(264, 65%, 37%);

gradient light

background: linear-gradient(to right, hsl(264, 65%, 57%), hsl(264, 65%, 37%));

gradient dark

background: linear-gradient(to right, hsl(264, 65%, 37%), hsl(264, 65%, 17%))

hex

background-color: #52219C;

tailwind

bg-[hsl(264,65%,37%)]

box shadow

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

css variable

--color-primary: hsl(264, 65%, 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(264, 65%, 37%)?

HEX: #52219C | RGB: rgb(82, 33, 156) | CMYK: 47%, 79%, 0%, 39% | HSV: 264°, 79%, 61%. Copy any format from the conversion table above.

What colors go well with #52219C?

The complementary color is HSL(84, 65%, 37%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(264, 65%, 37%) in CSS?

As HSL: color: hsl(264, 65%, 37%); — As HEX: color: #52219C; — As RGB: color: rgb(82, 33, 156); — Tailwind CSS: bg-[hsl(264,65%,37%)] — CSS variable: --color-primary: hsl(264, 65%, 37%);