#31144C

Closest named color: Dark Purple (#35063E). oklch(26.8% 0.099 304.2), rgb(49, 20, 76).

Aa

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

About this color

#31144C is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.099 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.037 away. White text reads best on it, at 15.73:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.33:1
White text15.73:1

Values

HEX#31144C
RGBrgb(49, 20, 76)
HSLhsl(271, 58%, 19%)
OKLCHoklch(26.8% 0.099 304.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 #31144C 15.73:1 AAA Lc -105.0 Preferred for body text
Black text on #31144C 1.33:1 Fails Lc 0.0 Not readable
#31144C text on white 15.73:1 AAA Lc 102.3 Preferred for body text
#31144C text on black 1.33: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

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E2CFFD

    oklch(88.5% 0.066 303.9)

  4. Step 300

    300

    #D1ADFE

    oklch(80.8% 0.118 304.3)

  5. Step 400

    400

    #BB7DFE

    oklch(70.7% 0.189 304.2)

  6. Step 500

    500

    #AB53FC

    oklch(63.1% 0.241 304.1)

  7. Step 600

    600

    #9729EB

    oklch(55.6% 0.262 304.1)

  8. Step 700

    700

    #8116CC

    oklch(49% 0.243 304.2)

  9. Step 800

    800

    #6919A5

    oklch(42.7% 0.202 304.3)

  10. Step 900

    900

    #552083

    oklch(37.8% 0.157 304.1)

  11. Step 950

    950 (this color)

    #31144C

    oklch(26.8% 0.099 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#31144C 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)#00224E0.078
Deuteranopia (no green cones)#03234B0.076
Tritanopia (no blue cones)#2C202E0.071
Achromatopsia (no color)#2323230.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #31144C

    #31144C

    oklch(26.8% 0.099 304.2)

  • #1F2B00

    #1F2B00

    oklch(26.8% 0.067 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31144C

    #31144C

    oklch(26.8% 0.099 304.2)

  • #191D55

    #191D55

    oklch(26.7% 0.1 274.3)

  • #400B39

    #400B39

    oklch(26.6% 0.1 334)

Open the analogous palette in the generator

Split complementary

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

  • #31144C

    #31144C

    oklch(26.8% 0.099 304.2)

  • #2F2500

    #2F2500

    oklch(26.8% 0.055 93.5)

  • #002F16

    #002F16

    oklch(26.8% 0.067 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31144C

    #31144C

    oklch(26.8% 0.099 304.2)

  • #3A1E00

    #3A1E00

    oklch(26.7% 0.061 63.3)

  • #002D28

    #002D28

    oklch(26.7% 0.047 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31144C

    #31144C

    oklch(26.8% 0.099 304.2)

  • #4A0B00

    #4A0B00

    oklch(26.8% 0.096 34.3)

  • #1F2B00

    #1F2B00

    oklch(26.8% 0.067 124.3)

  • #002B34

    #002B34

    oklch(26.6% 0.047 215.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31144C 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.