HSL(283, 65%, 47%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(283,65%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 65%, 47%) color: hsl(283, 65%, 47%)
HEX #9A2AC6 color: #9A2AC6
RGB rgb(154, 42, 198) color: rgb(154, 42, 198)
CMYK cmyk(22%, 79%, 0%, 22%)
HSV hsv(283, 79%, 78%)
HWB hwb(283 16% 22%) color: hwb(283 16% 22%)
OKLCH oklch(0.5315 0.23 313.94) color: oklch(0.5315 0.23 313.94)
Lab lab(42.16 66.85 -58.58) color: lab(42.16 66.85 -58.58)
LCH lch(42.16 88.88 318.77) color: lch(42.16 88.88 318.77)

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 5.96:1
vs Black 3.52:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6A68A0 — rgb(106, 104, 160)

Deuteranopia (Green-blind)

#707897 — rgb(112, 120, 151)

Tritanopia (Blue-blind)

#94827C — rgb(148, 130, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 65%, 47%);

text

color: hsl(283, 65%, 47%);

border

border: 2px solid hsl(283, 65%, 47%);

gradient light

background: linear-gradient(to right, hsl(283, 65%, 67%), hsl(283, 65%, 47%));

gradient dark

background: linear-gradient(to right, hsl(283, 65%, 47%), hsl(283, 65%, 27%))

hex

background-color: #9A2AC6;

tailwind

bg-[hsl(283,65%,47%)]

box shadow

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

css variable

--color-primary: hsl(283, 65%, 47%);

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(283, 65%, 47%)?

HEX: #9A2AC6 | RGB: rgb(154, 42, 198) | CMYK: 22%, 79%, 0%, 22% | HSV: 283°, 79%, 78%. Copy any format from the conversion table above.

What colors go well with #9A2AC6?

The complementary color is HSL(103, 65%, 47%). For a triadic harmony, use hues 283°, 43°, and 163°. For analogous combinations, try hues 253° and 313°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(283, 65%, 47%) in CSS?

As HSL: color: hsl(283, 65%, 47%); — As HEX: color: #9A2AC6; — As RGB: color: rgb(154, 42, 198); — Tailwind CSS: bg-[hsl(283,65%,47%)] — CSS variable: --color-primary: hsl(283, 65%, 47%);