#312944

Closest named color: Space Cadet (#2B2D42). oklch(30.3% 0.049 297), rgb(49, 41, 68).

Aa

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

About this color

#312944 is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.049 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.017 away. White text reads best on it, at 13.71:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.049)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.53:1
White text13.71:1

Values

HEX#312944
RGBrgb(49, 41, 68)
HSLhsl(258, 25%, 21%)
OKLCHoklch(30.3% 0.049 297)

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 #312944 13.71:1 AAA Lc -103.3 Preferred for body text
Black text on #312944 1.53:1 Fails Lc 0.0 Not readable
#312944 text on white 13.71:1 AAA Lc 100.2 Preferred for body text
#312944 text on black 1.53: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5EC

    oklch(88.5% 0.032 297.7)

  4. Step 300

    300

    #C4B9E2

    oklch(80.8% 0.058 297.4)

  5. Step 400

    400

    #A694D4

    oklch(70.6% 0.094 296.8)

  6. Step 500

    500

    #9179C8

    oklch(63.1% 0.118 296.9)

  7. Step 600

    600

    #7C61B5

    oklch(55.7% 0.129 296.8)

  8. Step 700

    700

    #69509B

    oklch(49.2% 0.118 297.2)

  9. Step 800

    800

    #55427E

    oklch(42.8% 0.098 296.6)

  10. Step 900

    900

    #463865

    oklch(37.7% 0.076 296.9)

  11. Step 950

    950 (this color)

    #312944

    oklch(30.3% 0.049 297)

Export this scale for Tailwind in the Tailwind colors tool

#312944 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)#222D450.027
Deuteranopia (no green cones)#232D430.026
Tritanopia (no blue cones)#2D2D330.038
Achromatopsia (no color)#2D2D2D0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #312944

    #312944

    oklch(30.3% 0.049 297)

  • #2D3213

    #2D3213

    oklch(30.4% 0.05 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312944

    #312944

    oklch(30.3% 0.049 297)

  • #232D47

    #232D47

    oklch(30.1% 0.049 267.4)

  • #3B253B

    #3B253B

    oklch(30.1% 0.049 326.7)

Open the analogous palette in the generator

Split complementary

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

  • #312944

    #312944

    oklch(30.3% 0.049 297)

  • #392D0E

    #392D0E

    oklch(30.3% 0.049 87.8)

  • #1D3520

    #1D3520

    oklch(30.2% 0.048 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312944

    #312944

    oklch(30.3% 0.049 297)

  • #412814

    #412814

    oklch(30.3% 0.049 58.1)

  • #0B362E

    #0B362E

    oklch(30.1% 0.048 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312944

    #312944

    oklch(30.3% 0.049 297)

  • #442421

    #442421

    oklch(30.2% 0.049 26.1)

  • #2D3213

    #2D3213

    oklch(30.4% 0.05 117)

  • #05353B

    #05353B

    oklch(30.2% 0.049 207.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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