#331234

Closest named color: Eggplant (#380835). oklch(25% 0.074 326.4), rgb(51, 18, 52).

Aa

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

About this color

#331234 is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.074 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.022 away. White text reads best on it, at 16.44:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.27:1
White text16.44:1

Values

HEX#331234
RGBrgb(51, 18, 52)
HSLhsl(298, 49%, 14%)
OKLCHoklch(25% 0.074 326.4)

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 #331234 16.44:1 AAA Lc -105.6 Preferred for body text
Black text on #331234 1.27:1 Fails Lc 0.0 Not readable
#331234 text on white 16.44:1 AAA Lc 103.1 Preferred for body text
#331234 text on black 1.27: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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCEEB

    oklch(88.4% 0.05 326)

  4. Step 300

    300

    #DFADDF

    oklch(80.9% 0.088 326.4)

  5. Step 400

    400

    #CE7FCF

    oklch(70.7% 0.142 326.5)

  6. Step 500

    500

    #BF5BC2

    oklch(63.1% 0.18 326.3)

  7. Step 600

    600

    #AA3CAE

    oklch(55.5% 0.196 326.4)

  8. Step 700

    700

    #922D96

    oklch(49.1% 0.183 326.3)

  9. Step 800

    800

    #77277A

    oklch(42.7% 0.152 326.3)

  10. Step 900

    900

    #602662

    oklch(37.7% 0.117 326.3)

  11. Step 950

    950 (this color)

    #331234

    oklch(25% 0.074 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#331234 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)#0E1D350.074
Deuteranopia (no green cones)#1921330.065
Tritanopia (no blue cones)#3416200.043
Achromatopsia (no color)#1F1F1F0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #331234

    #331234

    oklch(25% 0.074 326.4)

  • #012A08

    #012A08

    oklch(24.9% 0.074 146.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331234

    #331234

    oklch(25% 0.074 326.4)

  • #261840

    #261840

    oklch(25% 0.073 296.9)

  • #3B0E22

    #3B0E22

    oklch(24.8% 0.074 356.5)

Open the analogous palette in the generator

Split complementary

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

  • #331234

    #331234

    oklch(25% 0.074 326.4)

  • #202500

    #202500

    oklch(25.1% 0.058 117.1)

  • #002921

    #002921

    oklch(25.1% 0.047 176.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331234

    #331234

    oklch(25% 0.074 326.4)

  • #2C1F00

    #2C1F00

    oklch(24.8% 0.051 85.9)

  • #00272C

    #00272C

    oklch(24.9% 0.043 207.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331234

    #331234

    oklch(25% 0.074 326.4)

  • #371800

    #371800

    oklch(25% 0.061 55.6)

  • #012A08

    #012A08

    oklch(24.9% 0.074 146.1)

  • #002538

    #002538

    oklch(25% 0.054 236.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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