HSL(263, 68%, 37%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,68%,37%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 68%, 37%) color: hsl(263, 68%, 37%)
HEX #4F1E9F color: #4F1E9F
RGB rgb(79, 30, 159) color: rgb(79, 30, 159)
CMYK cmyk(50%, 81%, 0%, 38%)
HSV hsv(263, 81%, 62%)
HWB hwb(263 12% 38%) color: hwb(263 12% 38%)
OKLCH oklch(0.3937 0.1884 292.64) color: oklch(0.3937 0.1884 292.64)
Lab lab(27 50.26 -60.55) color: lab(27 50.26 -60.55)
LCH lch(27 78.69 309.69) color: lch(27 78.69 309.69)

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 10.4:1
vs Black 2.02: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)

#3A3980 — rgb(58, 57, 128)

Deuteranopia (Green-blind)

#3D4078 — rgb(61, 64, 120)

Tritanopia (Blue-blind)

#4D6762 — rgb(77, 103, 98)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 68%, 37%);

text

color: hsl(263, 68%, 37%);

border

border: 2px solid hsl(263, 68%, 37%);

gradient light

background: linear-gradient(to right, hsl(263, 68%, 57%), hsl(263, 68%, 37%));

gradient dark

background: linear-gradient(to right, hsl(263, 68%, 37%), hsl(263, 68%, 17%))

hex

background-color: #4F1E9F;

tailwind

bg-[hsl(263,68%,37%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(263, 68%, 37%, 0.4);

css variable

--color-primary: hsl(263, 68%, 37%);

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(263, 68%, 37%)?

HEX: #4F1E9F | RGB: rgb(79, 30, 159) | CMYK: 50%, 81%, 0%, 38% | HSV: 263°, 81%, 62%. Copy any format from the conversion table above.

What colors go well with #4F1E9F?

The complementary color is HSL(83, 68%, 37%). For a triadic harmony, use hues 263°, 23°, and 143°. For analogous combinations, try hues 233° and 293°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(263, 68%, 37%) in CSS?

As HSL: color: hsl(263, 68%, 37%); — As HEX: color: #4F1E9F; — As RGB: color: rgb(79, 30, 159); — Tailwind CSS: bg-[hsl(263,68%,37%)] — CSS variable: --color-primary: hsl(263, 68%, 37%);