#313243

Closest named color: Gunmetal (#293241). oklch(32.4% 0.03 281.9), rgb(49, 50, 67).

Aa

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

About this color

#313243 is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.030 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.014 away. White text reads best on it, at 12.59:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.030)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.66:1
White text12.59:1

Values

HEX#313243
RGBrgb(49, 50, 67)
HSLhsl(237, 16%, 23%)
OKLCHoklch(32.4% 0.03 281.9)

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 #313243 12.59:1 AAA Lc -101.9 Preferred for body text
Black text on #313243 1.66:1 Fails Lc 0.0 Not readable
#313243 text on white 12.59:1 AAA Lc 98.6 Preferred for body text
#313243 text on black 1.66: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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D7D8E1

    oklch(88.4% 0.012 281.1)

  4. Step 300

    300

    #BEBFCF

    oklch(80.9% 0.022 283)

  5. Step 400

    400

    #9C9EB7

    oklch(70.6% 0.036 281.8)

  6. Step 500

    500

    #8487A5

    oklch(63.2% 0.045 280.5)

  7. Step 600

    600

    #6E7091

    oklch(55.6% 0.051 281.9)

  8. Step 700

    700

    #5C5E7B

    oklch(49.2% 0.046 281.5)

  9. Step 800

    800

    #4B4D64

    oklch(42.8% 0.038 280.8)

  10. Step 900

    900 (this color)

    #313243

    oklch(32.4% 0.03 281.9)

  11. Step 950

    950

    #252530

    oklch(26.9% 0.02 285)

Export this scale for Tailwind in the Tailwind colors tool

#313243 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)#2D34440.008
Deuteranopia (no green cones)#2D33430.007
Tritanopia (no blue cones)#2D35380.026
Achromatopsia (no color)#3333330.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #313243

    #313243

    oklch(32.4% 0.03 281.9)

  • #373422

    #373422

    oklch(32.3% 0.03 99.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313243

    #313243

    oklch(32.4% 0.03 281.9)

  • #293543

    #293543

    oklch(32.4% 0.03 252.6)

  • #392F3F

    #392F3F

    oklch(32.3% 0.031 312.7)

Open the analogous palette in the generator

Split complementary

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

  • #313243

    #313243

    oklch(32.4% 0.03 281.9)

  • #3D3123

    #3D3123

    oklch(32.2% 0.029 70.8)

  • #2E3727

    #2E3727

    oklch(32.3% 0.03 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313243

    #313243

    oklch(32.4% 0.03 281.9)

  • #412F28

    #412F28

    oklch(32.4% 0.029 42.2)

  • #26392F

    #26392F

    oklch(32.5% 0.03 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313243

    #313243

    oklch(32.4% 0.03 281.9)

  • #422D30

    #422D30

    oklch(32.3% 0.031 9.5)

  • #373422

    #373422

    oklch(32.3% 0.03 99.8)

  • #213938

    #213938

    oklch(32.5% 0.03 192.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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