#312B46

Closest named color: Space Cadet (#2B2D42). oklch(30.8% 0.048 293.6), rgb(49, 43, 70).

Aa

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

About this color

#312B46 is a dark, muted purple. In OKLCH its lightness is 31%, its chroma 0.048 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.015 away. White text reads best on it, at 13.42:1.

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.048)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.56:1
White text13.42:1

Values

HEX#312B46
RGBrgb(49, 43, 70)
HSLhsl(253, 24%, 22%)
OKLCHoklch(30.8% 0.048 293.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 #312B46 13.42:1 AAA Lc -103.0 Preferred for body text
Black text on #312B46 1.56:1 Fails Lc 0.0 Not readable
#312B46 text on white 13.42:1 AAA Lc 99.8 Preferred for body text
#312B46 text on black 1.56: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #DAD6ED

    oklch(88.6% 0.032 293.7)

  4. Step 300

    300

    #C2BAE3

    oklch(80.9% 0.058 294)

  5. Step 400

    400

    #A396D5

    oklch(70.8% 0.092 293.4)

  6. Step 500

    500

    #8D7BC9

    oklch(63.1% 0.116 293.4)

  7. Step 600

    600

    #7862B6

    oklch(55.5% 0.128 293.9)

  8. Step 700

    700

    #65519D

    oklch(49.1% 0.119 293.7)

  9. Step 800

    800

    #52437F

    oklch(42.7% 0.098 293.3)

  10. Step 900

    900

    #443966

    oklch(37.8% 0.076 293.7)

  11. Step 950

    950 (this color)

    #312B46

    oklch(30.8% 0.048 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#312B46 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)#242F470.023
Deuteranopia (no green cones)#252E450.022
Tritanopia (no blue cones)#2D30350.040
Achromatopsia (no color)#2F2F2F0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #312B46

    #312B46

    oklch(30.8% 0.048 293.6)

  • #303314

    #303314

    oklch(31% 0.049 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #312B46

    #312B46

    oklch(30.8% 0.048 293.6)

  • #233048

    #233048

    oklch(30.9% 0.047 262.2)

  • #3C273E

    #3C273E

    oklch(30.8% 0.049 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #312B46

    #312B46

    oklch(30.8% 0.048 293.6)

  • #3C2E10

    #3C2E10

    oklch(31% 0.049 84)

  • #203620

    #203620

    oklch(30.7% 0.048 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #312B46

    #312B46

    oklch(30.8% 0.048 293.6)

  • #432917

    #432917

    oklch(30.9% 0.049 54.6)

  • #10382E

    #10382E

    oklch(30.9% 0.048 173.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #312B46

    #312B46

    oklch(30.8% 0.048 293.6)

  • #452624

    #452624

    oklch(30.8% 0.047 24.1)

  • #303314

    #303314

    oklch(31% 0.049 113.8)

  • #07373B

    #07373B

    oklch(30.9% 0.049 203.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #312B46 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.