#312130

Closest named color: Jet (#212529). oklch(27.4% 0.035 328.6), rgb(49, 33, 48).

Aa

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

About this color

#312130 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.035 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.037 away. White text reads best on it, at 15.09:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.035)
Temperaturein between
Nearest nameJet (#212529)
Black text1.39:1
White text15.09:1

Values

HEX#312130
RGBrgb(49, 33, 48)
HSLhsl(304, 20%, 16%)
OKLCHoklch(27.4% 0.035 328.6)

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 #312130 15.09:1 AAA Lc -104.7 Preferred for body text
Black text on #312130 1.39:1 Fails Lc 0.0 Not readable
#312130 text on white 15.09:1 AAA Lc 102.0 Preferred for body text
#312130 text on black 1.39: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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E2D4E1

    oklch(88.5% 0.023 328)

  4. Step 300

    300

    #D0B7CE

    oklch(80.8% 0.042 328.5)

  5. Step 400

    400

    #B892B6

    oklch(70.7% 0.067 328)

  6. Step 500

    500

    #A677A3

    oklch(63.1% 0.084 328.7)

  7. Step 600

    600

    #915F8F

    oklch(55.6% 0.093 328.1)

  8. Step 700

    700

    #7C4E79

    oklch(49.1% 0.087 329.1)

  9. Step 800

    800

    #644063

    oklch(42.6% 0.072 327.7)

  10. Step 900

    900

    #523750

    oklch(37.8% 0.055 329.1)

  11. Step 950

    950 (this color)

    #312130

    oklch(27.4% 0.035 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#312130 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)#2025310.033
Deuteranopia (no green cones)#24272F0.031
Tritanopia (no blue cones)#3222260.020
Achromatopsia (no color)#2626260.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #312130

    #312130

    oklch(27.4% 0.035 328.6)

  • #1B2C1E

    #1B2C1E

    oklch(27.3% 0.034 149.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312130

    #312130

    oklch(27.4% 0.035 328.6)

  • #292336

    #292336

    oklch(27.2% 0.036 298.5)

  • #362027

    #362027

    oklch(27.4% 0.036 359.1)

Open the analogous palette in the generator

Split complementary

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

  • #312130

    #312130

    oklch(27.4% 0.035 328.6)

  • #252A15

    #252A15

    oklch(27.4% 0.037 119.8)

  • #112D27

    #112D27

    oklch(27.3% 0.036 177.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312130

    #312130

    oklch(27.4% 0.035 328.6)

  • #2E2612

    #2E2612

    oklch(27.2% 0.035 88.3)

  • #0F2C31

    #0F2C31

    oklch(27.3% 0.036 210.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312130

    #312130

    oklch(27.4% 0.035 328.6)

  • #342315

    #342315

    oklch(27.3% 0.035 60)

  • #1B2C1E

    #1B2C1E

    oklch(27.3% 0.034 149.2)

  • #162A37

    #162A37

    oklch(27.4% 0.035 238.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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