#3A2E4E

Closest named color: Space Cadet (#2B2D42). oklch(32.9% 0.057 300.6), rgb(58, 46, 78).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.057)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.68:1
White text12.49:1

Values

HEX#3A2E4E
RGBrgb(58, 46, 78)
HSLhsl(263, 26%, 24%)
OKLCHoklch(32.9% 0.057 300.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 #3A2E4E 12.49:1 AAA Lc -101.8 Preferred for body text
Black text on #3A2E4E 1.68:1 Fails Lc 0.0 Not readable
#3A2E4E text on white 12.49:1 AAA Lc 98.3 Preferred for body text
#3A2E4E text on black 1.68: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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DBD6E7

    oklch(88.5% 0.024 299.3)

  4. Step 300

    300

    #C5BBD9

    oklch(81% 0.043 300.6)

  5. Step 400

    400

    #A797C5

    oklch(70.6% 0.068 300.6)

  6. Step 500

    500

    #927DB7

    oklch(63.1% 0.088 300.5)

  7. Step 600

    600

    #7C66A2

    oklch(55.6% 0.094 300.2)

  8. Step 700

    700

    #69548B

    oklch(49% 0.089 300.8)

  9. Step 800

    800

    #564571

    oklch(42.7% 0.074 301.1)

  10. Step 900

    900 (this color)

    #3A2E4E

    oklch(32.9% 0.057 300.6)

  11. Step 950

    950

    #292235

    oklch(26.9% 0.036 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A2E4E 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)#26344F0.036
Deuteranopia (no green cones)#28344D0.034
Tritanopia (no blue cones)#36333A0.044
Achromatopsia (no color)#3434340.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A2E4E

    #3A2E4E

    oklch(32.9% 0.057 300.6)

  • #313A16

    #313A16

    oklch(33.1% 0.057 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A2E4E

    #3A2E4E

    oklch(32.9% 0.057 300.6)

  • #2A3353

    #2A3353

    oklch(32.9% 0.058 271)

  • #462A43

    #462A43

    oklch(33% 0.057 330.6)

Open the analogous palette in the generator

Split complementary

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

  • #3A2E4E

    #3A2E4E

    oklch(32.9% 0.057 300.6)

  • #40340D

    #40340D

    oklch(33% 0.057 91.6)

  • #1D3D25

    #1D3D25

    oklch(32.8% 0.057 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A2E4E

    #3A2E4E

    oklch(32.9% 0.057 300.6)

  • #4A2E14

    #4A2E14

    oklch(33% 0.057 61.5)

  • #053F37

    #053F37

    oklch(33.1% 0.057 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A2E4E

    #3A2E4E

    oklch(32.9% 0.057 300.6)

  • #4F2923

    #4F2923

    oklch(32.9% 0.058 30)

  • #313A16

    #313A16

    oklch(33.1% 0.057 121.3)

  • #003D46

    #003D46

    oklch(33% 0.057 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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