#393952

Closest named color: Onyx (#343A40). oklch(35.6% 0.043 284), rgb(57, 57, 82).

Aa

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

About this color

#393952 is a dark, muted purple. In OKLCH its lightness is 36%, its chroma 0.043 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.035 away. White text reads best on it, at 11.16:1.

Hue familyPurples
Lightnessdark (36%)
Chromamuted (0.043)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.88:1
White text11.16:1

Values

HEX#393952
RGBrgb(57, 57, 82)
HSLhsl(240, 18%, 27%)
OKLCHoklch(35.6% 0.043 284)

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 #393952 11.16:1 AAA Lc -99.6 Preferred for body text
Black text on #393952 1.88:1 Fails Lc 8.1 Not readable
#393952 text on white 11.16:1 AAA Lc 95.8 Preferred for body text
#393952 text on black 1.88: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

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BDBED5

    oklch(80.8% 0.032 283.7)

  5. Step 400

    400

    #9C9DC0

    oklch(70.7% 0.051 283.7)

  6. Step 500

    500

    #8484B1

    oklch(63% 0.067 284.3)

  7. Step 600

    600

    #6E6E9C

    oklch(55.7% 0.071 283.9)

  8. Step 700

    700

    #5C5C86

    oklch(49.2% 0.067 283.7)

  9. Step 800

    800

    #4B4B6D

    oklch(42.7% 0.056 283.8)

  10. Step 900

    900 (this color)

    #393952

    oklch(35.6% 0.043 284)

  11. Step 950

    950

    #252534

    oklch(27.1% 0.028 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#393952 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)#323C530.013
Deuteranopia (no green cones)#313A510.013
Tritanopia (no blue cones)#333D420.036
Achromatopsia (no color)#3B3B3B0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #393952

    #393952

    oklch(35.6% 0.043 284)

  • #403D22

    #403D22

    oklch(35.6% 0.043 102.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #393952

    #393952

    oklch(35.6% 0.043 284)

  • #2C3D52

    #2C3D52

    oklch(35.5% 0.043 254.1)

  • #44354C

    #44354C

    oklch(35.5% 0.044 313.6)

Open the analogous palette in the generator

Split complementary

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

  • #393952

    #393952

    oklch(35.6% 0.043 284)

  • #4A3922

    #4A3922

    oklch(35.7% 0.043 74.1)

  • #33412A

    #33412A

    oklch(35.6% 0.042 133.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #393952

    #393952

    oklch(35.6% 0.043 284)

  • #4F3529

    #4F3529

    oklch(35.6% 0.043 45.7)

  • #254336

    #254336

    oklch(35.5% 0.043 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #393952

    #393952

    oklch(35.6% 0.043 284)

  • #503335

    #503335

    oklch(35.6% 0.042 14.9)

  • #403D22

    #403D22

    oklch(35.6% 0.043 102.8)

  • #1D4343

    #1D4343

    oklch(35.5% 0.043 195.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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