#3A1638

Closest named color: Aubergine (#3D0734). oklch(27% 0.076 329.6), rgb(58, 22, 56).

Aa

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

About this color

#3A1638 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.076 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.029 away. White text reads best on it, at 15.53:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameAubergine (#3D0734)
Black text1.35:1
White text15.53:1

Values

HEX#3A1638
RGBrgb(58, 22, 56)
HSLhsl(303, 45%, 16%)
OKLCHoklch(27% 0.076 329.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 #3A1638 15.53:1 AAA Lc -104.9 Preferred for body text
Black text on #3A1638 1.35:1 Fails Lc 0.0 Not readable
#3A1638 text on white 15.53:1 AAA Lc 102.2 Preferred for body text
#3A1638 text on black 1.35: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #EDCEE9

    oklch(88.5% 0.05 330.2)

  4. Step 300

    300

    #E2ACDD

    oklch(80.9% 0.09 329.5)

  5. Step 400

    400

    #D27DCC

    oklch(70.7% 0.145 329.5)

  6. Step 500

    500

    #C458BE

    oklch(63.1% 0.184 329.7)

  7. Step 600

    600

    #AF38AA

    oklch(55.6% 0.2 329.6)

  8. Step 700

    700

    #962992

    oklch(49.1% 0.186 329.5)

  9. Step 800

    800

    #7A2477

    oklch(42.7% 0.155 329.3)

  10. Step 900

    900

    #632460

    oklch(37.8% 0.121 329.6)

  11. Step 950

    950 (this color)

    #3A1638

    oklch(27% 0.076 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A1638 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)#1421390.076
Deuteranopia (no green cones)#1F26370.068
Tritanopia (no blue cones)#3C19240.041
Achromatopsia (no color)#2424240.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1638

    #3A1638

    oklch(27% 0.076 329.6)

  • #003010

    #003010

    oklch(27% 0.075 149.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1638

    #3A1638

    oklch(27% 0.076 329.6)

  • #2C1C46

    #2C1C46

    oklch(27% 0.076 298.8)

  • #421325

    #421325

    oklch(27% 0.075 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A1638

    #3A1638

    oklch(27% 0.076 329.6)

  • #232A00

    #232A00

    oklch(26.9% 0.063 118.9)

  • #002E27

    #002E27

    oklch(27% 0.049 179.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1638

    #3A1638

    oklch(27% 0.076 329.6)

  • #312500

    #312500

    oklch(27.1% 0.055 90.3)

  • #002C33

    #002C33

    oklch(26.9% 0.047 211.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1638

    #3A1638

    oklch(27% 0.076 329.6)

  • #3C1D00

    #3C1D00

    oklch(26.9% 0.063 59.4)

  • #003010

    #003010

    oklch(27% 0.075 149.4)

  • #002A41

    #002A41

    oklch(27.1% 0.061 239)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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