#3A2139

Closest named color: Space Cadet (#2B2D42). oklch(29% 0.055 328.3), rgb(58, 33, 57).

Aa

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

About this color

#3A2139 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.055 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.044 away. White text reads best on it, at 14.41:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.055)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.45:1
White text14.41:1

Values

HEX#3A2139
RGBrgb(58, 33, 57)
HSLhsl(302, 27%, 18%)
OKLCHoklch(29% 0.055 328.3)

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 #3A2139 14.41:1 AAA Lc -104.0 Preferred for body text
Black text on #3A2139 1.45:1 Fails Lc 0.0 Not readable
#3A2139 text on white 14.41:1 AAA Lc 101.1 Preferred for body text
#3A2139 text on black 1.45: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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E7D1E5

    oklch(88.5% 0.036 328.7)

  4. Step 300

    300

    #D8B2D6

    oklch(80.8% 0.065 327.8)

  5. Step 400

    400

    #C489C1

    oklch(70.7% 0.104 328.3)

  6. Step 500

    500

    #B46AB1

    oklch(63.1% 0.132 328.5)

  7. Step 600

    600

    #9F509D

    oklch(55.6% 0.144 328.2)

  8. Step 700

    700

    #884086

    oklch(49.1% 0.134 328.4)

  9. Step 800

    800

    #6E366D

    oklch(42.7% 0.11 327.9)

  10. Step 900

    900

    #5A2F58

    oklch(37.7% 0.087 328.8)

  11. Step 950

    950 (this color)

    #3A2139

    oklch(29% 0.055 328.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A2139 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)#1F283A0.053
Deuteranopia (no green cones)#262B380.047
Tritanopia (no blue cones)#3C232A0.031
Achromatopsia (no color)#2A2A2A0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2139

    #3A2139

    oklch(29% 0.055 328.3)

  • #16331B

    #16331B

    oklch(29.1% 0.056 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2139

    #3A2139

    oklch(29% 0.055 328.3)

  • #2F2543

    #2F2543

    oklch(29.1% 0.055 298.3)

  • #411F2B

    #411F2B

    oklch(29.1% 0.055 358.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A2139

    #3A2139

    oklch(29% 0.055 328.3)

  • #292F0C

    #292F0C

    oklch(29.1% 0.055 118.2)

  • #00342C

    #00342C

    oklch(29.1% 0.053 178.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2139

    #3A2139

    oklch(29% 0.055 328.3)

  • #372A05

    #372A05

    oklch(29.2% 0.055 88.5)

  • #003238

    #003238

    oklch(29% 0.05 207.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2139

    #3A2139

    oklch(29% 0.055 328.3)

  • #3F240D

    #3F240D

    oklch(29% 0.054 58.5)

  • #16331B

    #16331B

    oklch(29.1% 0.056 147.8)

  • #0B2F43

    #0B2F43

    oklch(29.1% 0.054 237.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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