#3A1D5B

Closest named color: Plum Purple (#4E0550). oklch(30.6% 0.107 301.9), rgb(58, 29, 91).

Aa

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

About this color

#3A1D5B is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.107 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.058 away. White text reads best on it, at 13.93:1.

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

Values

HEX#3A1D5B
RGBrgb(58, 29, 91)
HSLhsl(268, 52%, 24%)
OKLCHoklch(30.6% 0.107 301.9)

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 #3A1D5B 13.93:1 AAA Lc -103.3 Preferred for body text
Black text on #3A1D5B 1.50:1 Fails Lc 0.0 Not readable
#3A1D5B text on white 13.93:1 AAA Lc 100.2 Preferred for body text
#3A1D5B text on black 1.50: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

    #B77FFF

    oklch(70.7% 0.186 302.1)

  6. Step 500

    500

    #A755FF

    oklch(63.1% 0.241 302)

  7. Step 600

    600

    #9619F7

    oklch(55.6% 0.282 302)

  8. Step 700

    700

    #8000D6

    oklch(49.1% 0.259 302.1)

  9. Step 800

    800

    #680EAE

    oklch(42.7% 0.217 302)

  10. Step 900

    900

    #541B8A

    oklch(37.7% 0.169 301.8)

  11. Step 950

    950 (this color)

    #3A1D5B

    oklch(30.6% 0.107 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A1D5B 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.082
Deuteranopia (no green cones)#072C5A0.079
Tritanopia (no blue cones)#332A390.078
Achromatopsia (no color)#2C2C2C0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1D5B

    #3A1D5B

    oklch(30.6% 0.107 301.9)

  • #293500

    #293500

    oklch(30.7% 0.075 122.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1D5B

    #3A1D5B

    oklch(30.6% 0.107 301.9)

  • #1E2764

    #1E2764

    oklch(30.5% 0.107 272.1)

  • #4C1447

    #4C1447

    oklch(30.6% 0.107 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A1D5B

    #3A1D5B

    oklch(30.6% 0.107 301.9)

  • #3B2E00

    #3B2E00

    oklch(30.7% 0.063 91.8)

  • #003A19

    #003A19

    oklch(30.5% 0.081 151.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1D5B

    #3A1D5B

    oklch(30.6% 0.107 301.9)

  • #482600

    #482600

    oklch(30.7% 0.07 62.4)

  • #003831

    #003831

    oklch(30.6% 0.055 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1D5B

    #3A1D5B

    oklch(30.6% 0.107 301.9)

  • #591005

    #591005

    oklch(30.5% 0.107 31.9)

  • #293500

    #293500

    oklch(30.7% 0.075 122.4)

  • #00363F

    #00363F

    oklch(30.6% 0.053 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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