#3A2B40

Closest named color: Space Cadet (#2B2D42). oklch(31.5% 0.042 316.1), rgb(58, 43, 64).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.042)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.59:1
White text13.12:1

Values

HEX#3A2B40
RGBrgb(58, 43, 64)
HSLhsl(283, 20%, 21%)
OKLCHoklch(31.5% 0.042 316.1)

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 #3A2B40 13.12:1 AAA Lc -102.6 Preferred for body text
Black text on #3A2B40 1.59:1 Fails Lc 0.0 Not readable
#3A2B40 text on white 13.12:1 AAA Lc 99.4 Preferred for body text
#3A2B40 text on black 1.59: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7F0

    oklch(93.6% 0.014 318.7)

  3. Step 200

    200

    #E0D4E6

    oklch(88.5% 0.028 314.7)

  4. Step 300

    300

    #CDB7D7

    oklch(80.8% 0.05 315.3)

  5. Step 400

    400

    #B492C2

    oklch(70.7% 0.078 316)

  6. Step 500

    500

    #A176B3

    oklch(63.1% 0.101 315.6)

  7. Step 600

    600

    #8C5E9E

    oklch(55.6% 0.109 316.1)

  8. Step 700

    700

    #774D87

    oklch(49% 0.102 316.2)

  9. Step 800

    800

    #613F6E

    oklch(42.6% 0.086 316.2)

  10. Step 900

    900

    #4F3659

    oklch(37.6% 0.066 316)

  11. Step 950

    950 (this color)

    #3A2B40

    oklch(31.5% 0.042 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#3A2B40 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)#282F410.033
Deuteranopia (no green cones)#2B313F0.032
Tritanopia (no blue cones)#3A2D320.028
Achromatopsia (no color)#3030300.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2B40

    #3A2B40

    oklch(31.5% 0.042 316.1)

  • #283721

    #283721

    oklch(31.7% 0.043 136.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2B40

    #3A2B40

    oklch(31.5% 0.042 316.1)

  • #302E46

    #302E46

    oklch(31.4% 0.043 287.5)

  • #412936

    #412936

    oklch(31.5% 0.041 346)

Open the analogous palette in the generator

Split complementary

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

  • #3A2B40

    #3A2B40

    oklch(31.5% 0.042 316.1)

  • #343319

    #343319

    oklch(31.5% 0.042 106.6)

  • #1B382D

    #1B382D

    oklch(31.4% 0.041 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2B40

    #3A2B40

    oklch(31.5% 0.042 316.1)

  • #3E2F18

    #3E2F18

    oklch(31.6% 0.042 77)

  • #133839

    #133839

    oklch(31.5% 0.042 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2B40

    #3A2B40

    oklch(31.5% 0.042 316.1)

  • #432B1F

    #432B1F

    oklch(31.5% 0.041 47.3)

  • #283721

    #283721

    oklch(31.7% 0.043 136.1)

  • #183642

    #183642

    oklch(31.5% 0.042 226.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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