#3A394E

Closest named color: Onyx (#343A40). oklch(35.5% 0.036 286.6), rgb(58, 57, 78).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.036)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.87:1
White text11.19:1

Values

HEX#3A394E
RGBrgb(58, 57, 78)
HSLhsl(243, 16%, 26%)
OKLCHoklch(35.5% 0.036 286.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 #3A394E 11.19:1 AAA Lc -99.7 Preferred for body text
Black text on #3A394E 1.87:1 Fails Lc 8.0 Not readable
#3A394E text on white 11.19:1 AAA Lc 95.9 Preferred for body text
#3A394E text on black 1.87: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D8D8E3

    oklch(88.5% 0.015 286.1)

  4. Step 300

    300

    #BFBED2

    oklch(80.9% 0.028 288.1)

  5. Step 400

    400

    #9E9DBB

    oklch(70.7% 0.043 286.8)

  6. Step 500

    500

    #8685AA

    oklch(63.1% 0.055 285.9)

  7. Step 600

    600

    #706E95

    oklch(55.5% 0.06 286.6)

  8. Step 700

    700

    #5E5C7F

    oklch(49.1% 0.056 286.8)

  9. Step 800

    800

    #4D4B68

    oklch(42.7% 0.048 287.4)

  10. Step 900

    900 (this color)

    #3A394E

    oklch(35.5% 0.036 286.6)

  11. Step 950

    950

    #252531

    oklch(27% 0.022 284.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A394E 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)#343C4F0.012
Deuteranopia (no green cones)#333A4D0.012
Tritanopia (no blue cones)#363D400.032
Achromatopsia (no color)#3B3B3B0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A394E

    #3A394E

    oklch(35.5% 0.036 286.6)

  • #3E3D27

    #3E3D27

    oklch(35.5% 0.036 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A394E

    #3A394E

    oklch(35.5% 0.036 286.6)

  • #2F3D4F

    #2F3D4F

    oklch(35.6% 0.036 254.9)

  • #433649

    #433649

    oklch(35.5% 0.037 315)

Open the analogous palette in the generator

Split complementary

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

  • #3A394E

    #3A394E

    oklch(35.5% 0.036 286.6)

  • #473926

    #473926

    oklch(35.4% 0.036 74.7)

  • #33402D

    #33402D

    oklch(35.4% 0.036 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A394E

    #3A394E

    oklch(35.5% 0.036 286.6)

  • #4C362C

    #4C362C

    oklch(35.5% 0.036 45.5)

  • #294238

    #294238

    oklch(35.5% 0.036 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A394E

    #3A394E

    oklch(35.5% 0.036 286.6)

  • #4D3435

    #4D3435

    oklch(35.4% 0.036 16.4)

  • #3E3D27

    #3E3D27

    oklch(35.5% 0.036 105.9)

  • #234242

    #234242

    oklch(35.5% 0.037 195.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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