#310022

Closest named color: Dark Plum (#3F012C). oklch(20.9% 0.089 343.8), rgb(49, 0, 34).

Aa

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

About this color

#310022 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.089 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.040 away. White text reads best on it, at 18.20:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.15:1
White text18.20:1

Values

HEX#310022
RGBrgb(49, 0, 34)
HSLhsl(318, 100%, 10%)
OKLCHoklch(20.9% 0.089 343.8)

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 #310022 18.20:1 AAA Lc -106.4 Preferred for body text
Black text on #310022 1.15:1 Fails Lc 0.0 Not readable
#310022 text on white 18.20:1 AAA Lc 104.1 Preferred for body text
#310022 text on black 1.15: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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #FAE2EF

    oklch(93.6% 0.031 343.8)

  3. Step 200

    200

    #F6CAE3

    oklch(88.4% 0.059 343.3)

  4. Step 300

    300

    #F1A5D2

    oklch(80.9% 0.106 343.4)

  5. Step 400

    400

    #E770BB

    oklch(70.7% 0.17 343.7)

  6. Step 500

    500

    #DC41A9

    oklch(63.1% 0.216 344)

  7. Step 600

    600

    #C70695

    oklch(55.6% 0.236 343.6)

  8. Step 700

    700

    #A9007D

    oklch(49.1% 0.21 344)

  9. Step 800

    800

    #8B0267

    oklch(42.7% 0.181 343.7)

  10. Step 900

    900

    #701454

    oklch(37.7% 0.142 343.6)

  11. Step 950

    950 (this color)

    #310022

    oklch(20.9% 0.089 343.8)

Export this scale for Tailwind in the Tailwind colors tool

#310022 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)#0510230.102
Deuteranopia (no green cones)#1518210.086
Tritanopia (no blue cones)#3500100.038
Achromatopsia (no color)#1515150.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #310022

    #310022

    oklch(20.9% 0.089 343.8)

  • #001E12

    #001E12

    oklch(20.8% 0.045 163.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310022

    #310022

    oklch(20.9% 0.089 343.8)

  • #260534

    #260534

    oklch(20.9% 0.09 313.5)

  • #35000C

    #35000C

    oklch(20.9% 0.084 13.9)

Open the analogous palette in the generator

Split complementary

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

  • #310022

    #310022

    oklch(20.9% 0.089 343.8)

  • #0C1E00

    #0C1E00

    oklch(21.1% 0.06 133.7)

  • #001D1D

    #001D1D

    oklch(20.9% 0.036 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310022

    #310022

    oklch(20.9% 0.089 343.8)

  • #1C1900

    #1C1900

    oklch(21% 0.044 103.5)

  • #001C25

    #001C25

    oklch(21% 0.039 222.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310022

    #310022

    oklch(20.9% 0.089 343.8)

  • #241400

    #241400

    oklch(20.8% 0.044 72.7)

  • #001E12

    #001E12

    oklch(20.8% 0.045 163.5)

  • #001835

    #001835

    oklch(21% 0.065 253.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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