#310923

Closest named color: Eggplant (#380835). oklch(22.3% 0.073 344.7), rgb(49, 9, 35).

Aa

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

About this color

#310923 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.073 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.038 away. White text reads best on it, at 17.58:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.19:1
White text17.58:1

Values

HEX#310923
RGBrgb(49, 9, 35)
HSLhsl(321, 69%, 11%)
OKLCHoklch(22.3% 0.073 344.7)

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 #310923 17.58:1 AAA Lc -106.3 Preferred for body text
Black text on #310923 1.19:1 Fails Lc 0.0 Not readable
#310923 text on white 17.58:1 AAA Lc 104.0 Preferred for body text
#310923 text on black 1.19: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #EAABCE

    oklch(81% 0.086 344.8)

  5. Step 400

    400

    #DC7BB5

    oklch(70.7% 0.138 344.5)

  6. Step 500

    500

    #D055A2

    oklch(63.2% 0.177 344.8)

  7. Step 600

    600

    #BB348D

    oklch(55.6% 0.192 344.7)

  8. Step 700

    700

    #A02578

    oklch(49% 0.178 344.4)

  9. Step 800

    800

    #822261

    oklch(42.7% 0.146 344.8)

  10. Step 900

    900

    #692250

    oklch(37.7% 0.115 344.3)

  11. Step 950

    950 (this color)

    #310923

    oklch(22.3% 0.073 344.7)

Export this scale for Tailwind in the Tailwind colors tool

#310923 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)#0D15240.080
Deuteranopia (no green cones)#191B220.070
Tritanopia (no blue cones)#3509140.032
Achromatopsia (no color)#1919190.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #310923

    #310923

    oklch(22.3% 0.073 344.7)

  • #002216

    #002216

    oklch(22.3% 0.047 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310923

    #310923

    oklch(22.3% 0.073 344.7)

  • #270E32

    #270E32

    oklch(22.2% 0.072 314.1)

  • #360710

    #360710

    oklch(22.3% 0.074 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #310923

    #310923

    oklch(22.3% 0.073 344.7)

  • #0D2100

    #0D2100

    oklch(22.2% 0.064 134.3)

  • #002121

    #002121

    oklch(22.4% 0.038 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310923

    #310923

    oklch(22.3% 0.073 344.7)

  • #1F1C00

    #1F1C00

    oklch(22.3% 0.047 104)

  • #001F2A

    #001F2A

    oklch(22.3% 0.042 225.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310923

    #310923

    oklch(22.3% 0.073 344.7)

  • #281700

    #281700

    oklch(22.2% 0.047 73.4)

  • #002216

    #002216

    oklch(22.3% 0.047 165.5)

  • #001B3C

    #001B3C

    oklch(22.4% 0.072 254.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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