HSL(263, 35%, 27%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(263,35%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(263, 35%, 27%) color: hsl(263, 35%, 27%)
HEX #3F2D5D color: #3F2D5D
RGB rgb(63, 45, 93) color: rgb(63, 45, 93)
CMYK cmyk(32%, 52%, 0%, 64%)
HSV hsv(263, 52%, 36%)
HWB hwb(263 17% 64%) color: hwb(263 17% 64%)
OKLCH oklch(0.3421 0.0832 299.28) color: oklch(0.3421 0.0832 299.28)
Lab lab(22.74 19.92 -25.82) color: lab(22.74 19.92 -25.82)
LCH lch(22.74 32.61 307.65) color: lch(22.74 32.61 307.65)

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.04:1
vs Black 1.74: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)

#373751 — rgb(55, 55, 81)

Deuteranopia (Green-blind)

#383A4F — rgb(56, 58, 79)

Tritanopia (Blue-blind)

#3E4846 — rgb(62, 72, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(263, 35%, 27%);

text

color: hsl(263, 35%, 27%);

border

border: 2px solid hsl(263, 35%, 27%);

gradient light

background: linear-gradient(to right, hsl(263, 35%, 47%), hsl(263, 35%, 27%));

gradient dark

background: linear-gradient(to right, hsl(263, 35%, 27%), hsl(263, 35%, 7%))

hex

background-color: #3F2D5D;

tailwind

bg-[hsl(263,35%,27%)]

box shadow

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

css variable

--color-primary: hsl(263, 35%, 27%);

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, 35%, 27%)?

HEX: #3F2D5D | RGB: rgb(63, 45, 93) | CMYK: 32%, 52%, 0%, 64% | HSV: 263°, 52%, 36%. Copy any format from the conversion table above.

What colors go well with #3F2D5D?

The complementary color is HSL(83, 35%, 27%). 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, 35%, 27%) in CSS?

As HSL: color: hsl(263, 35%, 27%); — As HEX: color: #3F2D5D; — As RGB: color: rgb(63, 45, 93); — Tailwind CSS: bg-[hsl(263,35%,27%)] — CSS variable: --color-primary: hsl(263, 35%, 27%);