#313250

Closest named color: Prussian Blue (#1D3557). oklch(33.1% 0.053 281.6), rgb(49, 50, 80).

Aa

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

About this color

#313250 is a dark, muted purple. In OKLCH its lightness is 33%, its chroma 0.053 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.030 away. White text reads best on it, at 12.33:1.

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.053)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.70:1
White text12.33:1

Values

HEX#313250
RGBrgb(49, 50, 80)
HSLhsl(238, 24%, 25%)
OKLCHoklch(33.1% 0.053 281.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 #313250 12.33:1 AAA Lc -101.5 Preferred for body text
Black text on #313250 1.70:1 Fails Lc 0.0 Not readable
#313250 text on white 12.33:1 AAA Lc 98.1 Preferred for body text
#313250 text on black 1.70: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E8

    oklch(88.5% 0.022 280.3)

  4. Step 300

    300

    #BCBEDA

    oklch(80.9% 0.039 282.2)

  5. Step 400

    400

    #999CC8

    oklch(70.6% 0.064 281.6)

  6. Step 500

    500

    #8184BA

    oklch(63.2% 0.081 281.4)

  7. Step 600

    600

    #6B6DA6

    oklch(55.7% 0.088 281.6)

  8. Step 700

    700

    #595B8E

    oklch(49.2% 0.081 281.3)

  9. Step 800

    800

    #494A73

    oklch(42.7% 0.068 282.1)

  10. Step 900

    900 (this color)

    #313250

    oklch(33.1% 0.053 281.6)

  11. Step 950

    950

    #242436

    oklch(26.9% 0.033 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#313250 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)#2936510.016
Deuteranopia (no green cones)#27344F0.016
Tritanopia (no blue cones)#29383D0.046
Achromatopsia (no color)#3535350.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #313250

    #313250

    oklch(33.1% 0.053 281.6)

  • #3B3613

    #3B3613

    oklch(33% 0.053 101.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313250

    #313250

    oklch(33.1% 0.053 281.6)

  • #203750

    #203750

    oklch(33% 0.053 251.6)

  • #3E2D49

    #3E2D49

    oklch(32.9% 0.053 311.4)

Open the analogous palette in the generator

Split complementary

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

  • #313250

    #313250

    oklch(33.1% 0.053 281.6)

  • #463114

    #463114

    oklch(33.1% 0.053 73)

  • #2B3B1E

    #2B3B1E

    oklch(33% 0.052 132.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313250

    #313250

    oklch(33.1% 0.053 281.6)

  • #4C2C1F

    #4C2C1F

    oklch(33% 0.052 42.7)

  • #193E2D

    #193E2D

    oklch(33.1% 0.053 161.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313250

    #313250

    oklch(33.1% 0.053 281.6)

  • #4D2A2E

    #4D2A2E

    oklch(33.1% 0.052 13)

  • #3B3613

    #3B3613

    oklch(33% 0.053 101.2)

  • #083E3C

    #083E3C

    oklch(33.1% 0.053 191.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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