HSL(283, 30%, 23%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(283,30%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(283, 30%, 23%) color: hsl(283, 30%, 23%)
HEX #42294C color: #42294C
RGB rgb(66, 41, 76) color: rgb(66, 41, 76)
CMYK cmyk(13%, 46%, 0%, 70%)
HSV hsv(283, 46%, 30%)
HWB hwb(283 16% 70%) color: hwb(283 16% 70%)
OKLCH oklch(0.3273 0.0677 315.82) color: oklch(0.3273 0.0677 315.82)
Lab lab(21.08 18.94 -17.09) color: lab(21.08 18.94 -17.09)
LCH lch(21.08 25.51 317.94) color: lch(21.08 25.51 317.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 12.7:1
vs Black 1.65: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)

#373744 — rgb(55, 55, 68)

Deuteranopia (Green-blind)

#393B42 — rgb(57, 59, 66)

Tritanopia (Blue-blind)

#413D3B — rgb(65, 61, 59)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(283, 30%, 23%);

text

color: hsl(283, 30%, 23%);

border

border: 2px solid hsl(283, 30%, 23%);

gradient light

background: linear-gradient(to right, hsl(283, 30%, 43%), hsl(283, 30%, 23%));

gradient dark

background: linear-gradient(to right, hsl(283, 30%, 23%), hsl(283, 30%, 3%))

hex

background-color: #42294C;

tailwind

bg-[hsl(283,30%,23%)]

box shadow

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

css variable

--color-primary: hsl(283, 30%, 23%);

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, 30%, 23%)?

HEX: #42294C | RGB: rgb(66, 41, 76) | CMYK: 13%, 46%, 0%, 70% | HSV: 283°, 46%, 30%. Copy any format from the conversion table above.

What colors go well with #42294C?

The complementary color is HSL(103, 30%, 23%). 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, 30%, 23%) in CSS?

As HSL: color: hsl(283, 30%, 23%); — As HEX: color: #42294C; — As RGB: color: rgb(66, 41, 76); — Tailwind CSS: bg-[hsl(283,30%,23%)] — CSS variable: --color-primary: hsl(283, 30%, 23%);