#313149

Closest named color: Space Cadet (#2B2D42). oklch(32.4% 0.042 283.8), rgb(49, 49, 73).

Aa

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

About this color

#313149 is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.042 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 12.60:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.042)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.66:1
White text12.60:1

Values

HEX#313149
RGBrgb(49, 49, 73)
HSLhsl(240, 20%, 24%)
OKLCHoklch(32.4% 0.042 283.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 #313149 12.60:1 AAA Lc -102.0 Preferred for body text
Black text on #313149 1.66:1 Fails Lc 0.0 Not readable
#313149 text on white 12.60:1 AAA Lc 98.6 Preferred for body text
#313149 text on black 1.66: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 900.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BDBED5

    oklch(80.8% 0.032 283.7)

  5. Step 400

    400

    #9C9DC0

    oklch(70.7% 0.051 283.7)

  6. Step 500

    500

    #8485B0

    oklch(63.2% 0.064 283.4)

  7. Step 600

    600

    #6E6E9C

    oklch(55.7% 0.071 283.9)

  8. Step 700

    700

    #5C5C85

    oklch(49.2% 0.065 283.7)

  9. Step 800

    800

    #4B4B6C

    oklch(42.7% 0.054 283.9)

  10. Step 900

    900 (this color)

    #313149

    oklch(32.4% 0.042 283.8)

  11. Step 950

    950

    #252533

    oklch(27.1% 0.026 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#313149 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)#2A344A0.014
Deuteranopia (no green cones)#2932480.013
Tritanopia (no blue cones)#2B353A0.036
Achromatopsia (no color)#3333330.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #313149

    #313149

    oklch(32.4% 0.042 283.8)

  • #37351A

    #37351A

    oklch(32.4% 0.043 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313149

    #313149

    oklch(32.4% 0.042 283.8)

  • #243549

    #243549

    oklch(32.4% 0.042 253.1)

  • #3C2D43

    #3C2D43

    oklch(32.4% 0.043 314.8)

Open the analogous palette in the generator

Split complementary

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

  • #313149

    #313149

    oklch(32.4% 0.042 283.8)

  • #41311A

    #41311A

    oklch(32.5% 0.043 75.3)

  • #2B3922

    #2B3922

    oklch(32.5% 0.043 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313149

    #313149

    oklch(32.4% 0.042 283.8)

  • #462D22

    #462D22

    oklch(32.4% 0.042 44.6)

  • #1E3B2E

    #1E3B2E

    oklch(32.5% 0.042 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313149

    #313149

    oklch(32.4% 0.042 283.8)

  • #472B2D

    #472B2D

    oklch(32.4% 0.042 15)

  • #37351A

    #37351A

    oklch(32.4% 0.043 104.8)

  • #153B3A

    #153B3A

    oklch(32.5% 0.043 192.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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