#3F1C40

Closest named color: Eggplant Purple (#430541). oklch(29.2% 0.077 326.3), rgb(63, 28, 64).

Aa

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

About this color

#3F1C40 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.077 and its hue 326°. 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.46:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.45:1
White text14.46:1

Values

HEX#3F1C40
RGBrgb(63, 28, 64)
HSLhsl(298, 39%, 18%)
OKLCHoklch(29.2% 0.077 326.3)

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 #3F1C40 14.46:1 AAA Lc -103.9 Preferred for body text
Black text on #3F1C40 1.45:1 Fails Lc 0.0 Not readable
#3F1C40 text on white 14.46:1 AAA Lc 101.0 Preferred for body text
#3F1C40 text on black 1.45: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

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #ECCEEB

    oklch(88.5% 0.051 327)

  4. Step 300

    300

    #E0ACE0

    oklch(80.8% 0.092 326.4)

  5. Step 400

    400

    #CF7ED1

    oklch(70.7% 0.146 326.1)

  6. Step 500

    500

    #C159C4

    oklch(63.1% 0.186 326.4)

  7. Step 600

    600

    #AC39B1

    oklch(55.6% 0.203 326.1)

  8. Step 700

    700

    #942998

    oklch(49.1% 0.19 326.4)

  9. Step 800

    800

    #78257B

    oklch(42.7% 0.156 326.4)

  10. Step 900

    900

    #612463

    oklch(37.7% 0.122 326.4)

  11. Step 950

    950 (this color)

    #3F1C40

    oklch(29.2% 0.077 326.3)

Export this scale for Tailwind in the Tailwind colors tool

#3F1C40 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)#1827410.076
Deuteranopia (no green cones)#232B3F0.066
Tritanopia (no blue cones)#41202B0.044
Achromatopsia (no color)#2929290.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F1C40

    #3F1C40

    oklch(29.2% 0.077 326.3)

  • #0A3612

    #0A3612

    oklch(29.4% 0.078 146.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F1C40

    #3F1C40

    oklch(29.2% 0.077 326.3)

  • #30224D

    #30224D

    oklch(29.2% 0.077 296.4)

  • #48182D

    #48182D

    oklch(29.1% 0.078 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #3F1C40

    #3F1C40

    oklch(29.2% 0.077 326.3)

  • #2A3000

    #2A3000

    oklch(29.3% 0.068 117)

  • #00352B

    #00352B

    oklch(29.4% 0.055 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F1C40

    #3F1C40

    oklch(29.2% 0.077 326.3)

  • #392900

    #392900

    oklch(29.2% 0.06 85.8)

  • #003338

    #003338

    oklch(29.3% 0.05 205.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F1C40

    #3F1C40

    oklch(29.2% 0.077 326.3)

  • #462100

    #462100

    oklch(29.4% 0.071 56.7)

  • #0A3612

    #0A3612

    oklch(29.4% 0.078 146.2)

  • #003047

    #003047

    oklch(29.3% 0.063 236.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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