#31253A

Closest named color: Space Cadet (#2B2D42). oklch(28.8% 0.041 310), rgb(49, 37, 58).

Aa

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

About this color

#31253A is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.041 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.027 away. White text reads best on it, at 14.41:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.041)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.45:1
White text14.41:1

Values

HEX#31253A
RGBrgb(49, 37, 58)
HSLhsl(274, 22%, 19%)
OKLCHoklch(28.8% 0.041 310)

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 #31253A 14.41:1 AAA Lc -104.1 Preferred for body text
Black text on #31253A 1.45:1 Fails Lc 0.0 Not readable
#31253A text on white 14.41:1 AAA Lc 101.2 Preferred for body text
#31253A text on black 1.45: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD5E7

    oklch(88.6% 0.027 310.4)

  4. Step 300

    300

    #CAB8D8

    oklch(80.8% 0.048 310.4)

  5. Step 400

    400

    #AF93C5

    oklch(70.6% 0.078 309.8)

  6. Step 500

    500

    #9C78B6

    oklch(63.1% 0.099 310.3)

  7. Step 600

    600

    #8760A2

    oklch(55.6% 0.108 310.4)

  8. Step 700

    700

    #724F8B

    oklch(49% 0.101 310)

  9. Step 800

    800

    #5D4171

    oklch(42.7% 0.084 310.1)

  10. Step 900

    900

    #4C375B

    oklch(37.6% 0.065 310.3)

  11. Step 950

    950 (this color)

    #31253A

    oklch(28.8% 0.041 310)

Export this scale for Tailwind in the Tailwind colors tool

#31253A 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)#21293B0.030
Deuteranopia (no green cones)#242A390.028
Tritanopia (no blue cones)#30282D0.029
Achromatopsia (no color)#2A2A2A0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #31253A

    #31253A

    oklch(28.8% 0.041 310)

  • #242F19

    #242F19

    oklch(28.8% 0.041 130.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31253A

    #31253A

    oklch(28.8% 0.041 310)

  • #27283F

    #27283F

    oklch(28.7% 0.042 281.5)

  • #382331

    #382331

    oklch(28.8% 0.039 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #31253A

    #31253A

    oklch(28.8% 0.041 310)

  • #2F2B12

    #2F2B12

    oklch(28.7% 0.04 100.4)

  • #173124

    #173124

    oklch(28.8% 0.04 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31253A

    #31253A

    oklch(28.8% 0.041 310)

  • #382713

    #382713

    oklch(28.8% 0.041 69.5)

  • #0D312F

    #0D312F

    oklch(28.7% 0.041 190)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31253A

    #31253A

    oklch(28.8% 0.041 310)

  • #3C241B

    #3C241B

    oklch(28.8% 0.04 41.3)

  • #242F19

    #242F19

    oklch(28.8% 0.041 130.2)

  • #0F2F39

    #0F2F39

    oklch(28.6% 0.041 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31253A 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.