#310032

Closest named color: Very Dark Purple (#2A0134). oklch(22.1% 0.102 327.5), rgb(49, 0, 50).

Aa

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

About this color

#310032 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.102 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.019 away. White text reads best on it, at 17.84:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.17:1
White text17.84:1

Values

HEX#310032
RGBrgb(49, 0, 50)
HSLhsl(299, 100%, 10%)
OKLCHoklch(22.1% 0.102 327.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 #310032 17.84:1 AAA Lc -106.2 Preferred for body text
Black text on #310032 1.17:1 Fails Lc 0.0 Not readable
#310032 text on white 17.84:1 AAA Lc 103.8 Preferred for body text
#310032 text on black 1.17: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

    #FCF2FB

    oklch(97.1% 0.016 328.8)

  2. Step 100

    100

    #F7E2F6

    oklch(93.6% 0.035 327.3)

  3. Step 200

    200

    #F2CAF0

    oklch(88.5% 0.067 327.7)

  4. Step 300

    300

    #EAA4E9

    oklch(80.8% 0.121 327.1)

  5. Step 400

    400

    #DD6EDD

    oklch(70.6% 0.192 327.4)

  6. Step 500

    500

    #D23BD3

    oklch(63.2% 0.246 327.7)

  7. Step 600

    600

    #BA00BD

    oklch(55.5% 0.256 327.5)

  8. Step 700

    700

    #9D00A0

    oklch(49% 0.226 327.4)

  9. Step 800

    800

    #820084

    oklch(42.7% 0.197 327.6)

  10. Step 900

    900

    #6A0F6C

    oklch(37.7% 0.16 327.2)

  11. Step 950

    950 (this color)

    #310032

    oklch(22.1% 0.102 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#310032 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)#0013330.105
Deuteranopia (no green cones)#0D1A310.094
Tritanopia (no blue cones)#3308190.058
Achromatopsia (no color)#1717170.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #310032

    #310032

    oklch(22.1% 0.102 327.5)

  • #002207

    #002207

    oklch(22% 0.064 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310032

    #310032

    oklch(22.1% 0.102 327.5)

  • #220743

    #220743

    oklch(22.1% 0.103 297.5)

  • #38001B

    #38001B

    oklch(22.1% 0.09 357.6)

Open the analogous palette in the generator

Split complementary

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

  • #310032

    #310032

    oklch(22.1% 0.102 327.5)

  • #191E00

    #191E00

    oklch(22.2% 0.052 118.2)

  • #00211A

    #00211A

    oklch(22.1% 0.041 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310032

    #310032

    oklch(22.1% 0.102 327.5)

  • #241900

    #241900

    oklch(22.1% 0.045 86.5)

  • #001F24

    #001F24

    oklch(21.9% 0.038 209.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310032

    #310032

    oklch(22.1% 0.102 327.5)

  • #2C1300

    #2C1300

    oklch(22% 0.053 57.9)

  • #002207

    #002207

    oklch(22% 0.064 147.6)

  • #001D2E

    #001D2E

    oklch(21.9% 0.049 237.9)

Open the square palette in the generator

Palettes and gradients that use #310032

These curated palettes and gradients contain exactly #310032. Open one to see the full color scheme around it.

Gradients

Similar named colors

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

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