#3F334E

Closest named color: Onyx (#343A40). oklch(34.6% 0.049 304.3), rgb(63, 51, 78).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.049)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.79:1
White text11.69:1

Values

HEX#3F334E
RGBrgb(63, 51, 78)
HSLhsl(267, 21%, 25%)
OKLCHoklch(34.6% 0.049 304.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 #3F334E 11.69:1 AAA Lc -100.5 Preferred for body text
Black text on #3F334E 1.79:1 Fails Lc 0.0 Not readable
#3F334E text on white 11.69:1 AAA Lc 96.9 Preferred for body text
#3F334E text on black 1.79: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E4

    oklch(88.5% 0.02 305.2)

  4. Step 300

    300

    #C6BBD4

    oklch(80.9% 0.037 305.4)

  5. Step 400

    400

    #A898BF

    oklch(70.7% 0.059 303.6)

  6. Step 500

    500

    #937EAE

    oklch(63% 0.074 304.3)

  7. Step 600

    600

    #7E679A

    oklch(55.6% 0.081 304.6)

  8. Step 700

    700

    #6A5683

    oklch(49.1% 0.074 304.2)

  9. Step 800

    800

    #57466B

    oklch(42.7% 0.063 304.9)

  10. Step 900

    900 (this color)

    #3F334E

    oklch(34.6% 0.049 304.3)

  11. Step 950

    950

    #2A2333

    oklch(27.1% 0.031 304.4)

Export this scale for Tailwind in the Tailwind colors tool

#3F334E 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)#2E384F0.031
Deuteranopia (no green cones)#30384D0.029
Tritanopia (no blue cones)#3D373D0.037
Achromatopsia (no color)#3838380.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #3F334E

    #3F334E

    oklch(34.6% 0.049 304.3)

  • #343E21

    #343E21

    oklch(34.6% 0.049 124.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3F334E

    #3F334E

    oklch(34.6% 0.049 304.3)

  • #323753

    #323753

    oklch(34.5% 0.05 275.7)

  • #493044

    #493044

    oklch(34.6% 0.048 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #3F334E

    #3F334E

    oklch(34.6% 0.049 304.3)

  • #42391A

    #42391A

    oklch(34.6% 0.049 93.5)

  • #24412E

    #24412E

    oklch(34.6% 0.049 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3F334E

    #3F334E

    oklch(34.6% 0.049 304.3)

  • #4B341D

    #4B341D

    oklch(34.6% 0.049 65)

  • #16423C

    #16423C

    oklch(34.7% 0.049 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3F334E

    #3F334E

    oklch(34.6% 0.049 304.3)

  • #503028

    #503028

    oklch(34.6% 0.049 34.8)

  • #343E21

    #343E21

    oklch(34.6% 0.049 124.4)

  • #164049

    #164049

    oklch(34.6% 0.048 214.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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