#313350

Closest named color: Prussian Blue (#1D3557). oklch(33.3% 0.051 280.2), rgb(49, 51, 80).

Aa

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

About this color

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

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

Values

HEX#313350
RGBrgb(49, 51, 80)
HSLhsl(236, 24%, 25%)
OKLCHoklch(33.3% 0.051 280.2)

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 #313350 12.20:1 AAA Lc -101.3 Preferred for body text
Black text on #313350 1.71:1 Fails Lc 0.0 Not readable
#313350 text on white 12.20:1 AAA Lc 97.8 Preferred for body text
#313350 text on black 1.71: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

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D6D8E7

    oklch(88.5% 0.021 279.9)

  4. Step 300

    300

    #BBBEDA

    oklch(80.8% 0.039 280.6)

  5. Step 400

    400

    #999DC7

    oklch(70.8% 0.061 280.4)

  6. Step 500

    500

    #8084B8

    oklch(63% 0.078 280.5)

  7. Step 600

    600

    #6A6DA4

    oklch(55.5% 0.085 280.8)

  8. Step 700

    700

    #585B8D

    oklch(49% 0.08 280.4)

  9. Step 800

    800

    #484B72

    oklch(42.7% 0.065 279.9)

  10. Step 900

    900 (this color)

    #313350

    oklch(33.3% 0.051 280.2)

  11. Step 950

    950

    #232536

    oklch(27% 0.032 278.9)

Export this scale for Tailwind in the Tailwind colors tool

#313350 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)#2A36510.013
Deuteranopia (no green cones)#28344F0.014
Tritanopia (no blue cones)#28393D0.047
Achromatopsia (no color)#3535350.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #313350

    #313350

    oklch(33.3% 0.051 280.2)

  • #3C3715

    #3C3715

    oklch(33.4% 0.052 101)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313350

    #313350

    oklch(33.3% 0.051 280.2)

  • #213850

    #213850

    oklch(33.3% 0.052 250.6)

  • #3E2F4A

    #3E2F4A

    oklch(33.4% 0.05 309.3)

Open the analogous palette in the generator

Split complementary

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

  • #313350

    #313350

    oklch(33.3% 0.051 280.2)

  • #473117

    #473117

    oklch(33.3% 0.051 69.1)

  • #2D3B1F

    #2D3B1F

    oklch(33.2% 0.05 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313350

    #313350

    oklch(33.3% 0.051 280.2)

  • #4D2D21

    #4D2D21

    oklch(33.4% 0.052 41.2)

  • #1C3E2D

    #1C3E2D

    oklch(33.2% 0.05 160.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313350

    #313350

    oklch(33.3% 0.051 280.2)

  • #4D2B30

    #4D2B30

    oklch(33.4% 0.051 10.7)

  • #3C3715

    #3C3715

    oklch(33.4% 0.052 101)

  • #0D3E3C

    #0D3E3C

    oklch(33.2% 0.05 191)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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