#3F3756

Closest named color: Onyx (#343A40). oklch(35.9% 0.054 295.4), rgb(63, 55, 86).

Aa

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

About this color

#3F3756 is a dark, muted purple. In OKLCH its lightness is 36%, its chroma 0.054 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.048 away. White text reads best on it, at 11.09:1.

Hue familyPurples
Lightnessdark (36%)
Chromamuted (0.054)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.89:1
White text11.09:1

Values

HEX#3F3756
RGBrgb(63, 55, 86)
HSLhsl(255, 22%, 28%)
OKLCHoklch(35.9% 0.054 295.4)

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 #3F3756 11.09:1 AAA Lc -99.4 Preferred for body text
Black text on #3F3756 1.89:1 Fails Lc 8.3 Not readable
#3F3756 text on white 11.09:1 AAA Lc 95.6 Preferred for body text
#3F3756 text on black 1.89: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

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DAD6E7

    oklch(88.4% 0.023 296.7)

  4. Step 300

    300

    #C2BCD8

    oklch(80.9% 0.04 295.3)

  5. Step 400

    400

    #A399C5

    oklch(70.7% 0.064 295.1)

  6. Step 500

    500

    #8D7FB6

    oklch(63% 0.083 295.6)

  7. Step 600

    600

    #7768A2

    oklch(55.5% 0.09 295.2)

  8. Step 700

    700

    #64578B

    oklch(49.2% 0.083 294.7)

  9. Step 800

    800

    #524771

    oklch(42.7% 0.069 295.4)

  10. Step 900

    900 (this color)

    #3F3756

    oklch(35.9% 0.054 295.4)

  11. Step 950

    950

    #282335

    oklch(27% 0.034 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#3F3756 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)#2F3C570.028
Deuteranopia (no green cones)#303B550.026
Tritanopia (no blue cones)#3A3C420.044
Achromatopsia (no color)#3C3C3C0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F3756

    #3F3756

    oklch(35.9% 0.054 295.4)

  • #3C401E

    #3C401E

    oklch(35.9% 0.053 114.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F3756

    #3F3756

    oklch(35.9% 0.054 295.4)

  • #2F3C59

    #2F3C59

    oklch(35.8% 0.054 265.3)

  • #4B334C

    #4B334C

    oklch(35.9% 0.053 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #3F3756

    #3F3756

    oklch(35.9% 0.054 295.4)

  • #4A3B19

    #4A3B19

    oklch(36% 0.054 85.6)

  • #2A442B

    #2A442B

    oklch(35.8% 0.053 145.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F3756

    #3F3756

    oklch(35.9% 0.054 295.4)

  • #523520

    #523520

    oklch(35.8% 0.053 56)

  • #18463B

    #18463B

    oklch(35.9% 0.054 174.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F3756

    #3F3756

    oklch(35.9% 0.054 295.4)

  • #56312E

    #56312E

    oklch(35.9% 0.055 25.1)

  • #3C401E

    #3C401E

    oklch(35.9% 0.053 114.6)

  • #11454A

    #11454A

    oklch(36% 0.053 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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