#3A1B47

Closest named color: Eggplant Purple (#430541). oklch(28.8% 0.085 314.9), rgb(58, 27, 71).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.42:1
White text14.70:1

Values

HEX#3A1B47
RGBrgb(58, 27, 71)
HSLhsl(282, 45%, 19%)
OKLCHoklch(28.8% 0.085 314.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 #3A1B47 14.70:1 AAA Lc -104.2 Preferred for body text
Black text on #3A1B47 1.42:1 Fails Lc 0.0 Not readable
#3A1B47 text on white 14.70:1 AAA Lc 101.3 Preferred for body text
#3A1B47 text on black 1.42: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F8

    oklch(93.5% 0.03 314)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADED

    oklch(80.8% 0.1 315.1)

  5. Step 400

    400

    #C57FE4

    oklch(70.7% 0.159 314.8)

  6. Step 500

    500

    #B659DC

    oklch(63.1% 0.204 314.9)

  7. Step 600

    600

    #A237CA

    oklch(55.6% 0.223 315)

  8. Step 700

    700

    #8A28AF

    oklch(49.1% 0.207 314.6)

  9. Step 800

    800

    #70248D

    oklch(42.7% 0.17 314.8)

  10. Step 900

    900

    #5B2471

    oklch(37.7% 0.134 314.8)

  11. Step 950

    950 (this color)

    #3A1B47

    oklch(28.8% 0.085 314.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A1B47 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)#1026480.075
Deuteranopia (no green cones)#1A29460.067
Tritanopia (no blue cones)#39222E0.055
Achromatopsia (no color)#2828280.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1B47

    #3A1B47

    oklch(28.8% 0.085 314.9)

  • #163300

    #163300

    oklch(28.7% 0.084 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1B47

    #3A1B47

    oklch(28.8% 0.085 314.9)

  • #282252

    #282252

    oklch(28.7% 0.084 285.5)

  • #461634

    #461634

    oklch(28.8% 0.083 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A1B47

    #3A1B47

    oklch(28.8% 0.085 314.9)

  • #302C00

    #302C00

    oklch(28.8% 0.061 104.2)

  • #003423

    #003423

    oklch(28.8% 0.061 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1B47

    #3A1B47

    oklch(28.8% 0.085 314.9)

  • #3C2600

    #3C2600

    oklch(28.9% 0.061 75.9)

  • #003232

    #003232

    oklch(28.7% 0.049 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1B47

    #3A1B47

    oklch(28.8% 0.085 314.9)

  • #4A1900

    #4A1900

    oklch(28.6% 0.083 44.5)

  • #163300

    #163300

    oklch(28.7% 0.084 135.1)

  • #00303F

    #00303F

    oklch(28.8% 0.055 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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