HSL(267, 55%, 30%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,55%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 55%, 30%) color: hsl(267, 55%, 30%)
HEX #482277 color: #482277
RGB rgb(72, 34, 119) color: rgb(72, 34, 119)
CMYK cmyk(39%, 71%, 0%, 53%)
HSV hsv(267, 71%, 47%)
HWB hwb(267 14% 53%) color: hwb(267 14% 53%)
OKLCH oklch(0.3538 0.1376 299.8) color: oklch(0.3538 0.1376 299.8)
Lab lab(23.18 36.35 -41.9) color: lab(23.18 36.35 -41.9)
LCH lch(23.18 55.47 310.94) color: lch(23.18 55.47 310.94)

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.86:1
vs Black 1.77: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)

#383762 — rgb(56, 55, 98)

Deuteranopia (Green-blind)

#3A3D5E — rgb(58, 61, 94)

Tritanopia (Blue-blind)

#46524F — rgb(70, 82, 79)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 55%, 30%);

text

color: hsl(267, 55%, 30%);

border

border: 2px solid hsl(267, 55%, 30%);

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(267, 55%, 30%), hsl(267, 55%, 10%))

hex

background-color: #482277;

tailwind

bg-[hsl(267,55%,30%)]

box shadow

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

css variable

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

HEX: #482277 | RGB: rgb(72, 34, 119) | CMYK: 39%, 71%, 0%, 53% | HSV: 267°, 71%, 47%. Copy any format from the conversion table above.

What colors go well with #482277?

The complementary color is HSL(87, 55%, 30%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 55%, 30%) in CSS?

As HSL: color: hsl(267, 55%, 30%); — As HEX: color: #482277; — As RGB: color: rgb(72, 34, 119); — Tailwind CSS: bg-[hsl(267,55%,30%)] — CSS variable: --color-primary: hsl(267, 55%, 30%);