#3A1B4C

Closest named color: Eggplant Purple (#430541). oklch(29.1% 0.091 311.2), rgb(58, 27, 76).

Aa

White text reads best on this color (14.57:1).

About this color

#3A1B4C is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.091 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.046 away. White text reads best on it, at 14.57:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.44:1
White text14.57:1

Values

HEX#3A1B4C
RGBrgb(58, 27, 76)
HSLhsl(278, 48%, 20%)
OKLCHoklch(29.1% 0.091 311.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #3A1B4C 14.57:1 AAA Lc -104.0 Preferred for body text
Black text on #3A1B4C 1.44:1 Fails Lc 0.0 Not readable
#3A1B4C text on white 14.57:1 AAA Lc 101.1 Preferred for body text
#3A1B4C text on black 1.44:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E6CFF7

    oklch(88.6% 0.059 310.8)

  4. Step 300

    300

    #D7ADF4

    oklch(80.9% 0.107 311)

  5. Step 400

    400

    #C37DEE

    oklch(70.6% 0.173 311.3)

  6. Step 500

    500

    #B455E8

    oklch(63.1% 0.221 311.4)

  7. Step 600

    600

    #9F31D6

    oklch(55.5% 0.239 311.2)

  8. Step 700

    700

    #8820BA

    oklch(49.1% 0.223 311)

  9. Step 800

    800

    #6F1F96

    oklch(42.7% 0.184 311.5)

  10. Step 900

    900

    #5A2278

    oklch(37.8% 0.144 311.3)

  11. Step 950

    950 (this color)

    #3A1B4C

    oklch(29.1% 0.091 311.2)

Export this scale for Tailwind in the Tailwind colors tool

#3A1B4C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0A274E0.080
Deuteranopia (no green cones)#17294B0.070
Tritanopia (no blue cones)#3824300.063
Achromatopsia (no color)#2929290.091

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #3A1B4C

    #3A1B4C

    oklch(29.1% 0.091 311.2)

  • #1D3300

    #1D3300

    oklch(29.1% 0.079 130.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1B4C

    #3A1B4C

    oklch(29.1% 0.091 311.2)

  • #252357

    #252357

    oklch(29.1% 0.091 280.8)

  • #481539

    #481539

    oklch(29.3% 0.091 341.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #3A1B4C

    #3A1B4C

    oklch(29.1% 0.091 311.2)

  • #322C00

    #322C00

    oklch(29.1% 0.061 101.3)

  • #003521

    #003521

    oklch(29.1% 0.064 161.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1B4C

    #3A1B4C

    oklch(29.1% 0.091 311.2)

  • #3F2500

    #3F2500

    oklch(29.1% 0.063 70.3)

  • #003332

    #003332

    oklch(29% 0.05 192.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1B4C

    #3A1B4C

    oklch(29.1% 0.091 311.2)

  • #4E1700

    #4E1700

    oklch(29.1% 0.089 41.2)

  • #1D3300

    #1D3300

    oklch(29.1% 0.079 130.9)

  • #00313E

    #00313E

    oklch(29% 0.053 221.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #3A1B4C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #3A1B4C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.