#311E35

Closest named color: Oxford Blue (#1B263B). oklch(27% 0.049 320.5), rgb(49, 30, 53).

Aa

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

About this color

#311E35 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.049 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.045 away. White text reads best on it, at 15.35:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.049)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.35:1

Values

HEX#311E35
RGBrgb(49, 30, 53)
HSLhsl(290, 28%, 16%)
OKLCHoklch(27% 0.049 320.5)

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 #311E35 15.35:1 AAA Lc -104.9 Preferred for body text
Black text on #311E35 1.36:1 Fails Lc 0.0 Not readable
#311E35 text on white 15.35:1 AAA Lc 102.2 Preferred for body text
#311E35 text on black 1.36: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D3E7

    oklch(88.6% 0.032 319.5)

  4. Step 300

    300

    #D2B5D8

    oklch(80.9% 0.058 320.5)

  5. Step 400

    400

    #BB8EC4

    oklch(70.8% 0.092 320.7)

  6. Step 500

    500

    #A970B5

    oklch(63% 0.119 320.5)

  7. Step 600

    600

    #9457A1

    oklch(55.5% 0.129 320.4)

  8. Step 700

    700

    #7E478A

    oklch(49% 0.12 320.2)

  9. Step 800

    800

    #673B70

    oklch(42.7% 0.099 320.6)

  10. Step 900

    900

    #54335B

    oklch(37.8% 0.078 320.4)

  11. Step 950

    950 (this color)

    #311E35

    oklch(27% 0.049 320.5)

Export this scale for Tailwind in the Tailwind colors tool

#311E35 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)#1B24360.043
Deuteranopia (no green cones)#2026340.040
Tritanopia (no blue cones)#3121270.031
Achromatopsia (no color)#2525250.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #311E35

    #311E35

    oklch(27% 0.049 320.5)

  • #192C15

    #192C15

    oklch(27% 0.048 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #311E35

    #311E35

    oklch(27% 0.049 320.5)

  • #26223C

    #26223C

    oklch(27% 0.048 289.9)

  • #381C29

    #381C29

    oklch(27% 0.048 351.5)

Open the analogous palette in the generator

Split complementary

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

  • #311E35

    #311E35

    oklch(27% 0.049 320.5)

  • #282808

    #282808

    oklch(26.9% 0.049 109.3)

  • #052E23

    #052E23

    oklch(27% 0.049 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #311E35

    #311E35

    oklch(27% 0.049 320.5)

  • #332306

    #332306

    oklch(26.9% 0.049 78.8)

  • #002D2F

    #002D2F

    oklch(27% 0.046 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #311E35

    #311E35

    oklch(27% 0.049 320.5)

  • #391F0F

    #391F0F

    oklch(27% 0.048 51.1)

  • #192C15

    #192C15

    oklch(27% 0.048 140.2)

  • #052A3A

    #052A3A

    oklch(26.8% 0.05 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #311E35 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.