#393040

Closest named color: Gunmetal (#293241). oklch(32.5% 0.03 310.1), rgb(57, 48, 64).

Aa

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

About this color

#393040 is a dark, muted purple. In OKLCH its lightness is 33%, its chroma 0.030 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.027 away. White text reads best on it, at 12.56:1.

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.030)
Temperaturein between
Nearest nameGunmetal (#293241)
Black text1.67:1
White text12.56:1

Values

HEX#393040
RGBrgb(57, 48, 64)
HSLhsl(274, 14%, 22%)
OKLCHoklch(32.5% 0.03 310.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 #393040 12.56:1 AAA Lc -101.9 Preferred for body text
Black text on #393040 1.67:1 Fails Lc 0.0 Not readable
#393040 text on white 12.56:1 AAA Lc 98.5 Preferred for body text
#393040 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE9ED

    oklch(93.7% 0.006 308.4)

  3. Step 200

    200

    #DCD7DF

    oklch(88.5% 0.012 313.2)

  4. Step 300

    300

    #C5BDCC

    oklch(80.9% 0.023 309.5)

  5. Step 400

    400

    #A89BB2

    oklch(70.8% 0.036 310.6)

  6. Step 500

    500

    #92829F

    oklch(63.1% 0.047 309.8)

  7. Step 600

    600

    #7C6B8A

    oklch(55.5% 0.051 309.5)

  8. Step 700

    700

    #695975

    oklch(49% 0.048 310.4)

  9. Step 800

    800

    #56495F

    oklch(42.7% 0.039 311.3)

  10. Step 900

    900 (this color)

    #393040

    oklch(32.5% 0.03 310.1)

  11. Step 950

    950

    #29242E

    oklch(27% 0.02 307.7)

Export this scale for Tailwind in the Tailwind colors tool

#393040 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)#2E33410.020
Deuteranopia (no green cones)#2F343F0.021
Tritanopia (no blue cones)#3832350.023
Achromatopsia (no color)#3333330.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #393040

    #393040

    oklch(32.5% 0.03 310.1)

  • #2F3727

    #2F3727

    oklch(32.4% 0.029 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #393040

    #393040

    oklch(32.5% 0.03 310.1)

  • #313344

    #313344

    oklch(32.7% 0.03 279.3)

  • #3F2E39

    #3F2E39

    oklch(32.5% 0.031 340)

Open the analogous palette in the generator

Split complementary

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

  • #393040

    #393040

    oklch(32.5% 0.03 310.1)

  • #383523

    #383523

    oklch(32.7% 0.03 99.8)

  • #26392F

    #26392F

    oklch(32.5% 0.03 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #393040

    #393040

    oklch(32.5% 0.03 310.1)

  • #3E3223

    #3E3223

    oklch(32.6% 0.03 72.7)

  • #213938

    #213938

    oklch(32.5% 0.03 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #393040

    #393040

    oklch(32.5% 0.03 310.1)

  • #422F28

    #422F28

    oklch(32.5% 0.031 41.1)

  • #2F3727

    #2F3727

    oklch(32.4% 0.029 129.5)

  • #22383F

    #22383F

    oklch(32.5% 0.03 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #393040 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.