#3A293E

Closest named color: Space Cadet (#2B2D42). oklch(31% 0.043 319.8), rgb(58, 41, 62).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.043)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.56:1
White text13.40:1

Values

HEX#3A293E
RGBrgb(58, 41, 62)
HSLhsl(289, 20%, 20%)
OKLCHoklch(31% 0.043 319.8)

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 #3A293E 13.40:1 AAA Lc -103.0 Preferred for body text
Black text on #3A293E 1.56:1 Fails Lc 0.0 Not readable
#3A293E text on white 13.40:1 AAA Lc 99.8 Preferred for body text
#3A293E text on black 1.56: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E2D3E5

    oklch(88.4% 0.029 320.6)

  4. Step 300

    300

    #D0B6D6

    oklch(80.8% 0.053 319.9)

  5. Step 400

    400

    #B890C1

    oklch(70.7% 0.083 320.1)

  6. Step 500

    500

    #A574B1

    oklch(63.1% 0.105 319.6)

  7. Step 600

    600

    #905C9D

    oklch(55.6% 0.114 319.4)

  8. Step 700

    700

    #7B4B86

    oklch(49.1% 0.106 320)

  9. Step 800

    800

    #643E6D

    oklch(42.7% 0.088 319.8)

  10. Step 900

    900

    #523558

    oklch(37.7% 0.069 320.6)

  11. Step 950

    950 (this color)

    #3A293E

    oklch(31% 0.043 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A293E 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)#272E3F0.036
Deuteranopia (no green cones)#2A303D0.035
Tritanopia (no blue cones)#3A2B310.027
Achromatopsia (no color)#2F2F2F0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A293E

    #3A293E

    oklch(31% 0.043 319.8)

  • #243620

    #243620

    oklch(31% 0.045 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A293E

    #3A293E

    oklch(31% 0.043 319.8)

  • #302C45

    #302C45

    oklch(30.9% 0.045 290.9)

  • #412733

    #412733

    oklch(31% 0.043 350.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A293E

    #3A293E

    oklch(31% 0.043 319.8)

  • #323217

    #323217

    oklch(31% 0.043 108.7)

  • #17372D

    #17372D

    oklch(30.9% 0.042 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A293E

    #3A293E

    oklch(31% 0.043 319.8)

  • #3C2E15

    #3C2E15

    oklch(31.1% 0.044 80.5)

  • #0F3739

    #0F3739

    oklch(31% 0.044 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A293E

    #3A293E

    oklch(31% 0.043 319.8)

  • #422A1C

    #422A1C

    oklch(31.1% 0.043 50.8)

  • #243620

    #243620

    oklch(31% 0.045 140)

  • #163442

    #163442

    oklch(30.9% 0.044 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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