#331641

Closest named color: Dark Purple (#35063E). oklch(26.5% 0.083 313.3), rgb(51, 22, 65).

Aa

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

About this color

#331641 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.032 away. White text reads best on it, at 15.76:1.

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

Values

HEX#331641
RGBrgb(51, 22, 65)
HSLhsl(280, 49%, 17%)
OKLCHoklch(26.5% 0.083 313.3)

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 #331641 15.76:1 AAA Lc -105.1 Preferred for body text
Black text on #331641 1.33:1 Fails Lc 0.0 Not readable
#331641 text on white 15.76:1 AAA Lc 102.4 Preferred for body text
#331641 text on black 1.33: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)

    #331641

    oklch(26.5% 0.083 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#331641 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)#0921420.074
Deuteranopia (no green cones)#1423400.065
Tritanopia (no blue cones)#321E290.056
Achromatopsia (no color)#2323230.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #331641

    #331641

    oklch(26.5% 0.083 313.3)

  • #152C00

    #152C00

    oklch(26.4% 0.075 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331641

    #331641

    oklch(26.5% 0.083 313.3)

  • #211D4B

    #211D4B

    oklch(26.4% 0.082 283.1)

  • #3F102F

    #3F102F

    oklch(26.5% 0.083 343.8)

Open the analogous palette in the generator

Split complementary

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

  • #331641

    #331641

    oklch(26.5% 0.083 313.3)

  • #2A2600

    #2A2600

    oklch(26.5% 0.056 103.5)

  • #002E1D

    #002E1D

    oklch(26.6% 0.058 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331641

    #331641

    oklch(26.5% 0.083 313.3)

  • #352000

    #352000

    oklch(26.4% 0.056 73.6)

  • #002C2B

    #002C2B

    oklch(26.5% 0.045 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331641

    #331641

    oklch(26.5% 0.083 313.3)

  • #431500

    #431500

    oklch(26.7% 0.078 43.6)

  • #152C00

    #152C00

    oklch(26.4% 0.075 133.3)

  • #002A37

    #002A37

    oklch(26.5% 0.05 224.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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