#321336

Closest named color: Eggplant (#380835). oklch(25.1% 0.074 322.9), rgb(50, 19, 54).

Aa

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

About this color

#321336 is a dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.074 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.024 away. White text reads best on it, at 16.38:1.

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.28:1
White text16.38:1

Values

HEX#321336
RGBrgb(50, 19, 54)
HSLhsl(293, 48%, 14%)
OKLCHoklch(25.1% 0.074 322.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 #321336 16.38:1 AAA Lc -105.6 Preferred for body text
Black text on #321336 1.28:1 Fails Lc 0.0 Not readable
#321336 text on white 16.38:1 AAA Lc 103.1 Preferred for body text
#321336 text on black 1.28: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E9CFEC

    oklch(88.5% 0.048 322.7)

  4. Step 300

    300

    #DDAEE2

    oklch(81% 0.088 323.2)

  5. Step 400

    400

    #CA81D3

    oklch(70.7% 0.14 323)

  6. Step 500

    500

    #BB5DC7

    oklch(63.1% 0.179 323)

  7. Step 600

    600

    #A63FB4

    oklch(55.6% 0.195 322.7)

  8. Step 700

    700

    #8E309B

    oklch(49.1% 0.181 322.6)

  9. Step 800

    800

    #74297D

    oklch(42.7% 0.15 323.3)

  10. Step 900

    900

    #5E2765

    oklch(37.7% 0.118 323)

  11. Step 950

    950 (this color)

    #321336

    oklch(25.1% 0.074 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#321336 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)#0D1D370.072
Deuteranopia (no green cones)#1821350.063
Tritanopia (no blue cones)#3318220.045
Achromatopsia (no color)#2020200.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #321336

    #321336

    oklch(25.1% 0.074 322.9)

  • #062A06

    #062A06

    oklch(25% 0.073 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321336

    #321336

    oklch(25.1% 0.074 322.9)

  • #241942

    #241942

    oklch(25.2% 0.075 292.6)

  • #3B0F25

    #3B0F25

    oklch(25.1% 0.074 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #321336

    #321336

    oklch(25.1% 0.074 322.9)

  • #222400

    #222400

    oklch(25% 0.056 112.9)

  • #002920

    #002920

    oklch(25.1% 0.048 174.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321336

    #321336

    oklch(25.1% 0.074 322.9)

  • #2E1F00

    #2E1F00

    oklch(25.1% 0.052 82.4)

  • #00282B

    #00282B

    oklch(25.2% 0.043 202.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321336

    #321336

    oklch(25.1% 0.074 322.9)

  • #391700

    #391700

    oklch(25.1% 0.064 52.2)

  • #062A06

    #062A06

    oklch(25% 0.073 143)

  • #002636

    #002636

    oklch(25.2% 0.051 231.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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