#331734

Closest named color: Eggplant (#380835). oklch(25.8% 0.064 326), rgb(51, 23, 52).

Aa

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

About this color

#331734 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.064 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.034 away. White text reads best on it, at 15.99:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.064)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.31:1
White text15.99:1

Values

HEX#331734
RGBrgb(51, 23, 52)
HSLhsl(298, 39%, 15%)
OKLCHoklch(25.8% 0.064 326)

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 #331734 15.99:1 AAA Lc -105.4 Preferred for body text
Black text on #331734 1.31:1 Fails Lc 0.0 Not readable
#331734 text on white 15.99:1 AAA Lc 102.8 Preferred for body text
#331734 text on black 1.31: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DBB0DB

    oklch(80.9% 0.076 326.3)

  5. Step 400

    400

    #C885C9

    oklch(70.8% 0.122 326.3)

  6. Step 500

    500

    #B864BB

    oklch(63.1% 0.155 325.9)

  7. Step 600

    600

    #A348A7

    oklch(55.5% 0.169 325.9)

  8. Step 700

    700

    #8C3990

    oklch(49.2% 0.158 325.8)

  9. Step 800

    800

    #723074

    oklch(42.8% 0.13 326.4)

  10. Step 900

    900

    #5C2B5E

    oklch(37.6% 0.102 325.9)

  11. Step 950

    950 (this color)

    #331734

    oklch(25.8% 0.064 326)

Export this scale for Tailwind in the Tailwind colors tool

#331734 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)#141F350.062
Deuteranopia (no green cones)#1C23330.056
Tritanopia (no blue cones)#341A230.036
Achromatopsia (no color)#2222220.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #331734

    #331734

    oklch(25.8% 0.064 326)

  • #0A2B0F

    #0A2B0F

    oklch(25.7% 0.063 146.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331734

    #331734

    oklch(25.8% 0.064 326)

  • #271C3F

    #271C3F

    oklch(25.9% 0.064 296.1)

  • #3B1425

    #3B1425

    oklch(25.9% 0.065 355.4)

Open the analogous palette in the generator

Split complementary

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

  • #331734

    #331734

    oklch(25.8% 0.064 326)

  • #222700

    #222700

    oklch(25.9% 0.06 116.8)

  • #002B23

    #002B23

    oklch(25.8% 0.048 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331734

    #331734

    oklch(25.8% 0.064 326)

  • #2F2100

    #2F2100

    oklch(25.8% 0.053 85.2)

  • #00292E

    #00292E

    oklch(25.7% 0.044 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331734

    #331734

    oklch(25.8% 0.064 326)

  • #3A1A00

    #3A1A00

    oklch(25.9% 0.063 56.2)

  • #0A2B0F

    #0A2B0F

    oklch(25.7% 0.063 146.2)

  • #00273B

    #00273B

    oklch(25.8% 0.056 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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