#31143F

Closest named color: Dark Purple (#35063E). oklch(25.7% 0.083 313.2), rgb(49, 20, 63).

Aa

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

About this color

#31143F is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.083 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.028 away. White text reads best on it, at 16.12:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.30:1
White text16.12:1

Values

HEX#31143F
RGBrgb(49, 20, 63)
HSLhsl(280, 52%, 16%)
OKLCHoklch(25.7% 0.083 313.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 #31143F 16.12:1 AAA Lc -105.4 Preferred for body text
Black text on #31143F 1.30:1 Fails Lc 0.0 Not readable
#31143F text on white 16.12:1 AAA Lc 102.8 Preferred for body text
#31143F text on black 1.30: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F8

    oklch(93.7% 0.028 313.4)

  3. Step 200

    200

    #E6CFF3

    oklch(88.5% 0.055 313.4)

  4. Step 300

    300

    #D7AEEE

    oklch(80.9% 0.098 313.2)

  5. Step 400

    400

    #C380E5

    oklch(70.7% 0.158 313.5)

  6. Step 500

    500

    #B35BDD

    oklch(63% 0.201 313.3)

  7. Step 600

    600

    #9E3BCB

    oklch(55.5% 0.218 313)

  8. Step 700

    700

    #872BAF

    oklch(49% 0.202 313.2)

  9. Step 800

    800

    #6E268E

    oklch(42.7% 0.168 313.2)

  10. Step 900

    900

    #592671

    oklch(37.7% 0.13 313.2)

  11. Step 950

    950 (this color)

    #31143F

    oklch(25.7% 0.083 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#31143F 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)#061F400.075
Deuteranopia (no green cones)#12223E0.066
Tritanopia (no blue cones)#301C270.056
Achromatopsia (no color)#2121210.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #31143F

    #31143F

    oklch(25.7% 0.083 313.2)

  • #142A00

    #142A00

    oklch(25.6% 0.073 133.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31143F

    #31143F

    oklch(25.7% 0.083 313.2)

  • #1F1B49

    #1F1B49

    oklch(25.7% 0.083 282.8)

  • #3D0E2E

    #3D0E2E

    oklch(25.8% 0.084 342.9)

Open the analogous palette in the generator

Split complementary

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

  • #31143F

    #31143F

    oklch(25.7% 0.083 313.2)

  • #282400

    #282400

    oklch(25.7% 0.054 103.3)

  • #002B1C

    #002B1C

    oklch(25.6% 0.054 164.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31143F

    #31143F

    oklch(25.7% 0.083 313.2)

  • #331E00

    #331E00

    oklch(25.6% 0.055 72.3)

  • #002A29

    #002A29

    oklch(25.8% 0.044 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31143F

    #31143F

    oklch(25.7% 0.083 313.2)

  • #401300

    #401300

    oklch(25.7% 0.077 42.8)

  • #142A00

    #142A00

    oklch(25.6% 0.073 133.1)

  • #002834

    #002834

    oklch(25.7% 0.048 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31143F 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.