#31104B

Closest named color: Dark Purple (#35063E). oklch(26.1% 0.104 305.9), rgb(49, 16, 75).

Aa

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

About this color

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

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

Values

HEX#31104B
RGBrgb(49, 16, 75)
HSLhsl(274, 65%, 18%)
OKLCHoklch(26.1% 0.104 305.9)

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 #31104B 16.07:1 AAA Lc -105.2 Preferred for body text
Black text on #31104B 1.30:1 Fails Lc 0.0 Not readable
#31104B text on white 16.07:1 AAA Lc 102.6 Preferred for body text
#31104B 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F0E4FD

    oklch(93.6% 0.036 307.2)

  3. Step 200

    200

    #E4CEFE

    oklch(88.5% 0.069 305.8)

  4. Step 300

    300

    #D4ACFF

    oklch(80.9% 0.121 305.9)

  5. Step 400

    400

    #BF7AFF

    oklch(70.7% 0.195 306)

  6. Step 500

    500

    #B04CFE

    oklch(63.1% 0.252 306)

  7. Step 600

    600

    #9C1BEE

    oklch(55.6% 0.274 305.7)

  8. Step 700

    700

    #8500CE

    oklch(49% 0.254 305.8)

  9. Step 800

    800

    #6C0FA7

    oklch(42.7% 0.211 305.7)

  10. Step 900

    900

    #581B84

    oklch(37.7% 0.164 306.2)

  11. Step 950

    950 (this color)

    #31104B

    oklch(26.1% 0.104 305.9)

Export this scale for Tailwind in the Tailwind colors tool

#31104B 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)#00204D0.082
Deuteranopia (no green cones)#00214A0.083
Tritanopia (no blue cones)#2C1E2C0.075
Achromatopsia (no color)#2121210.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #31104B

    #31104B

    oklch(26.1% 0.104 305.9)

  • #1C2A00

    #1C2A00

    oklch(26.2% 0.067 126.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31104B

    #31104B

    oklch(26.1% 0.104 305.9)

  • #191A55

    #191A55

    oklch(26.1% 0.104 275.7)

  • #400637

    #400637

    oklch(26% 0.105 335.6)

Open the analogous palette in the generator

Split complementary

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

  • #31104B

    #31104B

    oklch(26.1% 0.104 305.9)

  • #2C2400

    #2C2400

    oklch(26.2% 0.054 96.6)

  • #002D17

    #002D17

    oklch(26.1% 0.063 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31104B

    #31104B

    oklch(26.1% 0.104 305.9)

  • #371D00

    #371D00

    oklch(26% 0.058 64.9)

  • #002B28

    #002B28

    oklch(26% 0.045 187.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31104B

    #31104B

    oklch(26.1% 0.104 305.9)

  • #460D00

    #460D00

    oklch(26.1% 0.089 36.1)

  • #1C2A00

    #1C2A00

    oklch(26.2% 0.067 126.5)

  • #002A32

    #002A32

    oklch(26.2% 0.046 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31104B 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.