#3A1E5B

Closest named color: Plum Purple (#4E0550). oklch(30.7% 0.105 301.6), rgb(58, 30, 91).

Aa

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

About this color

#3A1E5B is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.105 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.059 away. White text reads best on it, at 13.84:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.51:1
White text13.84:1

Values

HEX#3A1E5B
RGBrgb(58, 30, 91)
HSLhsl(268, 50%, 24%)
OKLCHoklch(30.7% 0.105 301.6)

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 #3A1E5B 13.84:1 AAA Lc -103.2 Preferred for body text
Black text on #3A1E5B 1.51:1 Fails Lc 0.0 Not readable
#3A1E5B text on white 13.84:1 AAA Lc 100.1 Preferred for body text
#3A1E5B text on black 1.51: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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FF

    oklch(93.7% 0.036 301.4)

  3. Step 200

    200

    #E1CFFF

    oklch(88.5% 0.068 302.1)

  4. Step 300

    300

    #CEAFFF

    oklch(80.9% 0.115 301.7)

  5. Step 400

    400

    #B680FF

    oklch(70.7% 0.184 301.5)

  6. Step 500

    500

    #A656FF

    oklch(63.1% 0.239 301.5)

  7. Step 600

    600

    #951FF6

    oklch(55.6% 0.278 301.7)

  8. Step 700

    700

    #7F04D6

    oklch(49.1% 0.258 301.6)

  9. Step 800

    800

    #6712AD

    oklch(42.7% 0.213 301.6)

  10. Step 900

    900

    #531D89

    oklch(37.7% 0.166 301.3)

  11. Step 950

    950 (this color)

    #3A1E5B

    oklch(30.7% 0.105 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A1E5B 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)#002C5D0.081
Deuteranopia (no green cones)#092C5A0.076
Tritanopia (no blue cones)#332B390.079
Achromatopsia (no color)#2D2D2D0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1E5B

    #3A1E5B

    oklch(30.7% 0.105 301.6)

  • #2A3500

    #2A3500

    oklch(30.8% 0.074 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1E5B

    #3A1E5B

    oklch(30.7% 0.105 301.6)

  • #1E2864

    #1E2864

    oklch(30.7% 0.106 271.6)

  • #4C1547

    #4C1547

    oklch(30.7% 0.106 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A1E5B

    #3A1E5B

    oklch(30.7% 0.105 301.6)

  • #3B2E00

    #3B2E00

    oklch(30.7% 0.063 91.8)

  • #003B19

    #003B19

    oklch(30.8% 0.082 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1E5B

    #3A1E5B

    oklch(30.7% 0.105 301.6)

  • #492600

    #492600

    oklch(30.9% 0.071 61.5)

  • #003932

    #003932

    oklch(30.9% 0.055 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1E5B

    #3A1E5B

    oklch(30.7% 0.105 301.6)

  • #591207

    #591207

    oklch(30.7% 0.105 31.8)

  • #2A3500

    #2A3500

    oklch(30.8% 0.074 121.5)

  • #00373F

    #00373F

    oklch(30.9% 0.053 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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