HSL(268, 83%, 30%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(268,83%,30%)]

Color Conversions

Format Value CSS Usage
HSL hsl(268, 83%, 30%) color: hsl(268, 83%, 30%)
HEX #480D8C color: #480D8C
RGB rgb(72, 13, 140) color: rgb(72, 13, 140)
CMYK cmyk(49%, 91%, 0%, 45%)
HSV hsv(268, 91%, 55%)
HWB hwb(268 5% 45%) color: hwb(268 5% 45%)
OKLCH oklch(0.3526 0.1811 295.75) color: oklch(0.3526 0.1811 295.75)
Lab lab(22.16 50.46 -56.84) color: lab(22.16 50.46 -56.84)
LCH lch(22.16 76.01 311.6) color: lch(22.16 76.01 311.6)

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 12.27:1
vs Black 1.71: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)

#2E2E6D — rgb(46, 46, 109)

Deuteranopia (Green-blind)

#323666 — rgb(50, 54, 102)

Tritanopia (Blue-blind)

#455550 — rgb(69, 85, 80)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(268, 83%, 30%);

text

color: hsl(268, 83%, 30%);

border

border: 2px solid hsl(268, 83%, 30%);

gradient light

background: linear-gradient(to right, hsl(268, 83%, 50%), hsl(268, 83%, 30%));

gradient dark

background: linear-gradient(to right, hsl(268, 83%, 30%), hsl(268, 83%, 10%))

hex

background-color: #480D8C;

tailwind

bg-[hsl(268,83%,30%)]

box shadow

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

css variable

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

HEX: #480D8C | RGB: rgb(72, 13, 140) | CMYK: 49%, 91%, 0%, 45% | HSV: 268°, 91%, 55%. Copy any format from the conversion table above.

What colors go well with #480D8C?

The complementary color is HSL(88, 83%, 30%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(268, 83%, 30%) in CSS?

As HSL: color: hsl(268, 83%, 30%); — As HEX: color: #480D8C; — As RGB: color: rgb(72, 13, 140); — Tailwind CSS: bg-[hsl(268,83%,30%)] — CSS variable: --color-primary: hsl(268, 83%, 30%);