#3A334F

Closest named color: Gunmetal (#293241). oklch(34.1% 0.049 295.2), rgb(58, 51, 79).

Aa

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

About this color

#3A334F is a dark, muted purple. In OKLCH its lightness is 34%, its chroma 0.049 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.039 away. White text reads best on it, at 11.88:1.

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.049)
Temperaturein between
Nearest nameGunmetal (#293241)
Black text1.76:1
White text11.88:1

Values

HEX#3A334F
RGBrgb(58, 51, 79)
HSLhsl(255, 22%, 25%)
OKLCHoklch(34.1% 0.049 295.2)

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 #3A334F 11.88:1 AAA Lc -100.8 Preferred for body text
Black text on #3A334F 1.76:1 Fails Lc 0.0 Not readable
#3A334F text on white 11.88:1 AAA Lc 97.2 Preferred for body text
#3A334F text on black 1.76: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

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E6

    oklch(88.6% 0.021 295.1)

  4. Step 300

    300

    #C2BCD6

    oklch(80.8% 0.037 296.1)

  5. Step 400

    400

    #A39AC2

    oklch(70.8% 0.058 295.2)

  6. Step 500

    500

    #8D81B3

    oklch(63.3% 0.075 295.2)

  7. Step 600

    600

    #77699E

    oklch(55.5% 0.082 295.7)

  8. Step 700

    700

    #645887

    oklch(49.2% 0.075 295.2)

  9. Step 800

    800

    #51486E

    oklch(42.7% 0.063 294.5)

  10. Step 900

    900 (this color)

    #3A334F

    oklch(34.1% 0.049 295.2)

  11. Step 950

    950

    #272334

    oklch(26.8% 0.032 295)

Export this scale for Tailwind in the Tailwind colors tool

#3A334F 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)#2C37500.025
Deuteranopia (no green cones)#2D374E0.024
Tritanopia (no blue cones)#36383D0.041
Achromatopsia (no color)#3737370.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A334F

    #3A334F

    oklch(34.1% 0.049 295.2)

  • #373B1C

    #373B1C

    oklch(34% 0.049 115.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A334F

    #3A334F

    oklch(34.1% 0.049 295.2)

  • #2C3852

    #2C3852

    oklch(34.2% 0.049 264.9)

  • #452F46

    #452F46

    oklch(34% 0.049 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A334F

    #3A334F

    oklch(34.1% 0.049 295.2)

  • #443618

    #443618

    oklch(34.1% 0.049 84.6)

  • #283F28

    #283F28

    oklch(34.1% 0.049 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A334F

    #3A334F

    oklch(34.1% 0.049 295.2)

  • #4C311F

    #4C311F

    oklch(34.1% 0.049 54)

  • #184037

    #184037

    oklch(34% 0.048 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A334F

    #3A334F

    oklch(34.1% 0.049 295.2)

  • #4F2E2B

    #4F2E2B

    oklch(34.2% 0.049 25.6)

  • #373B1C

    #373B1C

    oklch(34% 0.049 115.1)

  • #123F44

    #123F44

    oklch(34% 0.049 205.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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