#3D1C40

Closest named color: Eggplant Purple (#430541). oklch(28.9% 0.076 324.1), rgb(61, 28, 64).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.43:1
White text14.59:1

Values

HEX#3D1C40
RGBrgb(61, 28, 64)
HSLhsl(295, 39%, 18%)
OKLCHoklch(28.9% 0.076 324.1)

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 #3D1C40 14.59:1 AAA Lc -104.1 Preferred for body text
Black text on #3D1C40 1.43:1 Fails Lc 0.0 Not readable
#3D1C40 text on white 14.59:1 AAA Lc 101.2 Preferred for body text
#3D1C40 text on black 1.43: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACFEC

    oklch(88.6% 0.049 323.8)

  4. Step 300

    300

    #DEADE2

    oklch(80.9% 0.09 323.9)

  5. Step 400

    400

    #CC7FD3

    oklch(70.6% 0.145 324)

  6. Step 500

    500

    #BD5BC7

    oklch(63.1% 0.184 323.8)

  7. Step 600

    600

    #A93CB3

    oklch(55.6% 0.2 324.3)

  8. Step 700

    700

    #912D9A

    oklch(49.2% 0.185 324.4)

  9. Step 800

    800

    #75277D

    oklch(42.6% 0.154 323.9)

  10. Step 900

    900

    #5F2664

    oklch(37.7% 0.119 324.4)

  11. Step 950

    950 (this color)

    #3D1C40

    oklch(28.9% 0.076 324.1)

Export this scale for Tailwind in the Tailwind colors tool

#3D1C40 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)#1726410.073
Deuteranopia (no green cones)#212A3F0.064
Tritanopia (no blue cones)#3E202B0.044
Achromatopsia (no color)#2929290.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D1C40

    #3D1C40

    oklch(28.9% 0.076 324.1)

  • #0E3410

    #0E3410

    oklch(28.8% 0.075 144.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D1C40

    #3D1C40

    oklch(28.9% 0.076 324.1)

  • #2E224D

    #2E224D

    oklch(29% 0.076 294)

  • #47182E

    #47182E

    oklch(29% 0.077 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #3D1C40

    #3D1C40

    oklch(28.9% 0.076 324.1)

  • #2B2E00

    #2B2E00

    oklch(28.8% 0.065 113.6)

  • #003429

    #003429

    oklch(29% 0.055 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D1C40

    #3D1C40

    oklch(28.9% 0.076 324.1)

  • #392800

    #392800

    oklch(28.9% 0.059 83.9)

  • #003236

    #003236

    oklch(28.9% 0.049 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D1C40

    #3D1C40

    oklch(28.9% 0.076 324.1)

  • #461F00

    #461F00

    oklch(29% 0.073 53.9)

  • #0E3410

    #0E3410

    oklch(28.8% 0.075 144.2)

  • #002F44

    #002F44

    oklch(28.8% 0.06 234.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3D1C40 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.