HSL(282, 69%, 36%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(282,69%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(282, 69%, 36%) color: hsl(282, 69%, 36%)
HEX #751C9B color: #751C9B
RGB rgb(117, 28, 155) color: rgb(117, 28, 155)
CMYK cmyk(25%, 82%, 0%, 39%)
HSV hsv(282, 82%, 61%)
HWB hwb(282 11% 39%) color: hwb(282 11% 39%)
OKLCH oklch(0.4371 0.1934 312.78) color: oklch(0.4371 0.1934 312.78)
Lab lab(31.76 56.08 -50.11) color: lab(31.76 56.08 -50.11)
LCH lch(31.76 75.21 318.22) color: lch(31.76 75.21 318.22)

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 8.77:1
vs Black 2.4: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)

#4E4E7C — rgb(78, 78, 124)

Deuteranopia (Green-blind)

#545A75 — rgb(84, 90, 117)

Tritanopia (Blue-blind)

#71645F — rgb(113, 100, 95)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(282, 69%, 36%);

text

color: hsl(282, 69%, 36%);

border

border: 2px solid hsl(282, 69%, 36%);

gradient light

background: linear-gradient(to right, hsl(282, 69%, 56%), hsl(282, 69%, 36%));

gradient dark

background: linear-gradient(to right, hsl(282, 69%, 36%), hsl(282, 69%, 16%))

hex

background-color: #751C9B;

tailwind

bg-[hsl(282,69%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(282, 69%, 36%, 0.4);

css variable

--color-primary: hsl(282, 69%, 36%);

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(282, 69%, 36%)?

HEX: #751C9B | RGB: rgb(117, 28, 155) | CMYK: 25%, 82%, 0%, 39% | HSV: 282°, 82%, 61%. Copy any format from the conversion table above.

What colors go well with #751C9B?

The complementary color is HSL(102, 69%, 36%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(282, 69%, 36%) in CSS?

As HSL: color: hsl(282, 69%, 36%); — As HEX: color: #751C9B; — As RGB: color: rgb(117, 28, 155); — Tailwind CSS: bg-[hsl(282,69%,36%)] — CSS variable: --color-primary: hsl(282, 69%, 36%);