HSL(274, 65%, 55%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(274,65%,55%)]

Color Conversions

Format Value CSS Usage
HSL hsl(274, 65%, 55%) color: hsl(274, 65%, 55%)
HEX #9642D7 color: #9642D7
RGB rgb(150, 66, 215) color: rgb(150, 66, 215)
CMYK cmyk(30%, 69%, 0%, 16%)
HSV hsv(274, 69%, 84%)
HWB hwb(274 26% 16%) color: hwb(274 26% 16%)
OKLCH oklch(0.5614 0.219 306.33) color: oklch(0.5614 0.219 306.33)
Lab lab(46.02 60.48 -62.16) color: lab(46.02 60.48 -62.16)
LCH lch(46.02 86.73 314.22) color: lch(46.02 86.73 314.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 5.18:1
vs Black 4.06: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)

#7271B3 — rgb(114, 113, 179)

Deuteranopia (Green-blind)

#777DAA — rgb(119, 125, 170)

Tritanopia (Blue-blind)

#929690 — rgb(146, 150, 144)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(274, 65%, 55%);

text

color: hsl(274, 65%, 55%);

border

border: 2px solid hsl(274, 65%, 55%);

gradient light

background: linear-gradient(to right, hsl(274, 65%, 75%), hsl(274, 65%, 55%));

gradient dark

background: linear-gradient(to right, hsl(274, 65%, 55%), hsl(274, 65%, 35%))

hex

background-color: #9642D7;

tailwind

bg-[hsl(274,65%,55%)]

box shadow

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

css variable

--color-primary: hsl(274, 65%, 55%);

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(274, 65%, 55%)?

HEX: #9642D7 | RGB: rgb(150, 66, 215) | CMYK: 30%, 69%, 0%, 16% | HSV: 274°, 69%, 84%. Copy any format from the conversion table above.

What colors go well with #9642D7?

The complementary color is HSL(94, 65%, 55%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(274, 65%, 55%) in CSS?

As HSL: color: hsl(274, 65%, 55%); — As HEX: color: #9642D7; — As RGB: color: rgb(150, 66, 215); — Tailwind CSS: bg-[hsl(274,65%,55%)] — CSS variable: --color-primary: hsl(274, 65%, 55%);