#3A2E4B

Closest named color: Space Cadet (#2B2D42). oklch(32.8% 0.052 302.6), rgb(58, 46, 75).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.052)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.67:1
White text12.55:1

Values

HEX#3A2E4B
RGBrgb(58, 46, 75)
HSLhsl(265, 24%, 24%)
OKLCHoklch(32.8% 0.052 302.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 #3A2E4B 12.55:1 AAA Lc -101.9 Preferred for body text
Black text on #3A2E4B 1.67:1 Fails Lc 0.0 Not readable
#3A2E4B text on white 12.55:1 AAA Lc 98.5 Preferred for body text
#3A2E4B text on black 1.67: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 900.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E5

    oklch(88.5% 0.021 304)

  4. Step 300

    300

    #C5BBD6

    oklch(80.9% 0.039 302.4)

  5. Step 400

    400

    #A898C2

    oklch(70.8% 0.063 302.2)

  6. Step 500

    500

    #937EB2

    oklch(63.2% 0.08 302.7)

  7. Step 600

    600

    #7D679E

    oklch(55.7% 0.087 302)

  8. Step 700

    700

    #6A5587

    oklch(49.1% 0.082 302.8)

  9. Step 800

    800

    #56466D

    oklch(42.7% 0.066 302.6)

  10. Step 900

    900 (this color)

    #3A2E4B

    oklch(32.8% 0.052 302.6)

  11. Step 950

    950

    #2A2334

    oklch(27.2% 0.032 303.2)

Export this scale for Tailwind in the Tailwind colors tool

#3A2E4B 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)#28334C0.032
Deuteranopia (no green cones)#2A334A0.030
Tritanopia (no blue cones)#3733390.041
Achromatopsia (no color)#3333330.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2E4B

    #3A2E4B

    oklch(32.8% 0.052 302.6)

  • #303919

    #303919

    oklch(32.7% 0.053 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2E4B

    #3A2E4B

    oklch(32.8% 0.052 302.6)

  • #2C3350

    #2C3350

    oklch(32.9% 0.052 272.9)

  • #452A40

    #452A40

    oklch(32.7% 0.053 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A2E4B

    #3A2E4B

    oklch(32.8% 0.052 302.6)

  • #3E3412

    #3E3412

    oklch(32.8% 0.052 92.9)

  • #1E3D28

    #1E3D28

    oklch(32.9% 0.053 153)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2E4B

    #3A2E4B

    oklch(32.8% 0.052 302.6)

  • #482E16

    #482E16

    oklch(32.7% 0.053 61.9)

  • #0B3D37

    #0B3D37

    oklch(32.6% 0.052 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2E4B

    #3A2E4B

    oklch(32.8% 0.052 302.6)

  • #4C2A23

    #4C2A23

    oklch(32.7% 0.053 32.5)

  • #303919

    #303919

    oklch(32.7% 0.053 122.3)

  • #093C45

    #093C45

    oklch(32.9% 0.053 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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