#313146

Closest named color: Gunmetal (#293241). oklch(32.3% 0.037 284.1), rgb(49, 49, 70).

Aa

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

About this color

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

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

Values

HEX#313146
RGBrgb(49, 49, 70)
HSLhsl(240, 18%, 23%)
OKLCHoklch(32.3% 0.037 284.1)

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 #313146 12.66:1 AAA Lc -102.0 Preferred for body text
Black text on #313146 1.65:1 Fails Lc 0.0 Not readable
#313146 text on white 12.66:1 AAA Lc 98.7 Preferred for body text
#313146 text on black 1.65: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 950.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D7D7E9

    oklch(88.5% 0.025 285.9)

  4. Step 300

    300

    #BDBDDD

    oklch(80.9% 0.045 285.4)

  5. Step 400

    400

    #9B9BCC

    oklch(70.7% 0.071 284.4)

  6. Step 500

    500

    #8382BE

    oklch(63.1% 0.09 284.3)

  7. Step 600

    600

    #6D6BAA

    oklch(55.7% 0.097 284.2)

  8. Step 700

    700

    #5B5992

    oklch(49.1% 0.09 284.2)

  9. Step 800

    800

    #4A4977

    oklch(42.8% 0.075 283.7)

  10. Step 900

    900

    #3E3D60

    oklch(37.7% 0.059 284.5)

  11. Step 950

    950 (this color)

    #313146

    oklch(32.3% 0.037 284.1)

Export this scale for Tailwind in the Tailwind colors tool

#313146 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)#2B34470.013
Deuteranopia (no green cones)#2B32450.010
Tritanopia (no blue cones)#2C35380.034
Achromatopsia (no color)#3333330.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #313146

    #313146

    oklch(32.3% 0.037 284.1)

  • #36351E

    #36351E

    oklch(32.3% 0.037 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313146

    #313146

    oklch(32.3% 0.037 284.1)

  • #263546

    #263546

    oklch(32.3% 0.036 252)

  • #3A2E41

    #3A2E41

    oklch(32.2% 0.037 312.8)

Open the analogous palette in the generator

Split complementary

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

  • #313146

    #313146

    oklch(32.3% 0.037 284.1)

  • #3F311E

    #3F311E

    oklch(32.4% 0.037 74.4)

  • #2C3824

    #2C3824

    oklch(32.3% 0.038 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313146

    #313146

    oklch(32.3% 0.037 284.1)

  • #442D24

    #442D24

    oklch(32.2% 0.038 42.2)

  • #213A2E

    #213A2E

    oklch(32.4% 0.038 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313146

    #313146

    oklch(32.3% 0.037 284.1)

  • #452C2E

    #452C2E

    oklch(32.4% 0.037 14.1)

  • #36351E

    #36351E

    oklch(32.3% 0.037 106.2)

  • #1A3A39

    #1A3A39

    oklch(32.4% 0.038 192.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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