#3A1A33

Closest named color: Aubergine (#3D0734). oklch(27.4% 0.063 336), rgb(58, 26, 51).

Aa

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

About this color

#3A1A33 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.063 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.041 away. White text reads best on it, at 15.26:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.37:1
White text15.26:1

Values

HEX#3A1A33
RGBrgb(58, 26, 51)
HSLhsl(313, 38%, 16%)
OKLCHoklch(27.4% 0.063 336)

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 #3A1A33 15.26:1 AAA Lc -104.7 Preferred for body text
Black text on #3A1A33 1.37:1 Fails Lc 0.0 Not readable
#3A1A33 text on white 15.26:1 AAA Lc 102.0 Preferred for body text
#3A1A33 text on black 1.37: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE4

    oklch(88.5% 0.043 335.7)

  4. Step 300

    300

    #E0AFD3

    oklch(80.9% 0.074 336)

  5. Step 400

    400

    #CF83BD

    oklch(70.7% 0.119 335.9)

  6. Step 500

    500

    #C161AC

    oklch(63.1% 0.153 336.2)

  7. Step 600

    600

    #AC4598

    oklch(55.6% 0.167 335.9)

  8. Step 700

    700

    #933681

    oklch(49.1% 0.154 336)

  9. Step 800

    800

    #782E69

    oklch(42.8% 0.127 336.2)

  10. Step 900

    900

    #612A55

    oklch(37.8% 0.099 336.4)

  11. Step 950

    950 (this color)

    #3A1A33

    oklch(27.4% 0.063 336)

Export this scale for Tailwind in the Tailwind colors tool

#3A1A33 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)#1A22340.065
Deuteranopia (no green cones)#2327320.058
Tritanopia (no blue cones)#3D1B240.030
Achromatopsia (no color)#2525250.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1A33

    #3A1A33

    oklch(27.4% 0.063 336)

  • #03301A

    #03301A

    oklch(27.3% 0.063 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1A33

    #3A1A33

    oklch(27.4% 0.063 336)

  • #2F1E40

    #2F1E40

    oklch(27.4% 0.064 305.7)

  • #401823

    #401823

    oklch(27.3% 0.064 5)

Open the analogous palette in the generator

Split complementary

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

  • #3A1A33

    #3A1A33

    oklch(27.4% 0.063 336)

  • #202D05

    #202D05

    oklch(27.6% 0.063 126)

  • #002F2B

    #002F2B

    oklch(27.5% 0.048 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1A33

    #3A1A33

    oklch(27.4% 0.063 336)

  • #302700

    #302700

    oklch(27.5% 0.056 95.7)

  • #002D36

    #002D36

    oklch(27.4% 0.048 215)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1A33

    #3A1A33

    oklch(27.4% 0.063 336)

  • #3B2000

    #3B2000

    oklch(27.3% 0.061 65.8)

  • #03301A

    #03301A

    oklch(27.3% 0.063 156.5)

  • #062944

    #062944

    oklch(27.2% 0.063 246.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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