#312133

Closest named color: Jet (#212529). oklch(27.5% 0.039 322.8), rgb(49, 33, 51).

Aa

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

About this color

#312133 is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.039 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.040 away. White text reads best on it, at 15.04:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.039)
Temperaturein between
Nearest nameJet (#212529)
Black text1.39:1
White text15.04:1

Values

HEX#312133
RGBrgb(49, 33, 51)
HSLhsl(293, 21%, 16%)
OKLCHoklch(27.5% 0.039 322.8)

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 #312133 15.04:1 AAA Lc -104.7 Preferred for body text
Black text on #312133 1.39:1 Fails Lc 0.0 Not readable
#312133 text on white 15.04:1 AAA Lc 101.9 Preferred for body text
#312133 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200

    #E2D4E3

    oklch(88.6% 0.025 323.8)

  4. Step 300

    300

    #D0B7D3

    oklch(80.9% 0.047 322.6)

  5. Step 400

    400

    #B791BC

    oklch(70.6% 0.075 322.5)

  6. Step 500

    500

    #A576AB

    oklch(63.2% 0.094 322.7)

  7. Step 600

    600

    #905D97

    oklch(55.5% 0.105 322.5)

  8. Step 700

    700

    #7B4D80

    oklch(49.2% 0.096 323.4)

  9. Step 800

    800

    #643F68

    oklch(42.7% 0.08 323.4)

  10. Step 900

    900

    #513655

    oklch(37.7% 0.062 322.2)

  11. Step 950

    950 (this color)

    #312133

    oklch(27.5% 0.039 322.8)

Export this scale for Tailwind in the Tailwind colors tool

#312133 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)#1F25340.034
Deuteranopia (no green cones)#2327320.032
Tritanopia (no blue cones)#3223270.026
Achromatopsia (no color)#2626260.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #312133

    #312133

    oklch(27.5% 0.039 322.8)

  • #1C2D1B

    #1C2D1B

    oklch(27.6% 0.04 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312133

    #312133

    oklch(27.5% 0.039 322.8)

  • #282439

    #282439

    oklch(27.5% 0.039 292.4)

  • #371F29

    #371F29

    oklch(27.4% 0.04 353.5)

Open the analogous palette in the generator

Split complementary

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

  • #312133

    #312133

    oklch(27.5% 0.039 322.8)

  • #282A12

    #282A12

    oklch(27.6% 0.04 112.9)

  • #102E26

    #102E26

    oklch(27.5% 0.039 173.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312133

    #312133

    oklch(27.5% 0.039 322.8)

  • #31260F

    #31260F

    oklch(27.5% 0.04 84)

  • #0A2D30

    #0A2D30

    oklch(27.4% 0.039 203.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312133

    #312133

    oklch(27.5% 0.039 322.8)

  • #372215

    #372215

    oklch(27.5% 0.039 52.2)

  • #1C2D1B

    #1C2D1B

    oklch(27.6% 0.04 143.1)

  • #112B38

    #112B38

    oklch(27.5% 0.04 232.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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