#3A3754

Closest named color: Onyx (#343A40). oklch(35.3% 0.05 288.3), rgb(58, 55, 84).

Aa

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

About this color

#3A3754 is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.050 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.041 away. White text reads best on it, at 11.32:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.050)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.85:1
White text11.32:1

Values

HEX#3A3754
RGBrgb(58, 55, 84)
HSLhsl(246, 21%, 27%)
OKLCHoklch(35.3% 0.05 288.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 #3A3754 11.32:1 AAA Lc -99.9 Preferred for body text
Black text on #3A3754 1.85:1 Fails Lc 7.8 Not readable
#3A3754 text on white 11.32:1 AAA Lc 96.1 Preferred for body text
#3A3754 text on black 1.85: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D8D7E6

    oklch(88.4% 0.02 289)

  4. Step 300

    300

    #BFBDD8

    oklch(80.9% 0.038 288.9)

  5. Step 400

    400

    #9E9BC4

    oklch(70.6% 0.059 288.1)

  6. Step 500

    500

    #8782B6

    oklch(63.1% 0.078 288.4)

  7. Step 600

    600

    #716BA1

    oklch(55.5% 0.083 288.5)

  8. Step 700

    700

    #5F598A

    oklch(49.1% 0.078 288.8)

  9. Step 800

    800

    #4D4970

    oklch(42.6% 0.064 288.1)

  10. Step 900

    900 (this color)

    #3A3754

    oklch(35.3% 0.05 288.3)

  11. Step 950

    950

    #262435

    oklch(27% 0.031 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A3754 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)#2F3B550.020
Deuteranopia (no green cones)#2F3A530.019
Tritanopia (no blue cones)#343C410.043
Achromatopsia (no color)#3A3A3A0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A3754

    #3A3754

    oklch(35.3% 0.05 288.3)

  • #3E3D1D

    #3E3D1D

    oklch(35.3% 0.049 107.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A3754

    #3A3754

    oklch(35.3% 0.05 288.3)

  • #2B3C55

    #2B3C55

    oklch(35.3% 0.049 257.9)

  • #46334C

    #46334C

    oklch(35.3% 0.049 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #3A3754

    #3A3754

    oklch(35.3% 0.05 288.3)

  • #4A381B

    #4A381B

    oklch(35.4% 0.051 77.9)

  • #2E4228

    #2E4228

    oklch(35.4% 0.05 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A3754

    #3A3754

    oklch(35.3% 0.05 288.3)

  • #513324

    #513324

    oklch(35.3% 0.05 47.2)

  • #1E4436

    #1E4436

    oklch(35.4% 0.05 167.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A3754

    #3A3754

    oklch(35.3% 0.05 288.3)

  • #523031

    #523031

    oklch(35.2% 0.05 18)

  • #3E3D1D

    #3E3D1D

    oklch(35.3% 0.049 107.1)

  • #144345

    #144345

    oklch(35.3% 0.05 199.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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