#321F30

Closest named color: Jet (#212529). oklch(27.1% 0.041 330.4), rgb(50, 31, 48).

Aa

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

About this color

#321F30 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.041 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.042 away. White text reads best on it, at 15.28:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.041)
Temperaturein between
Nearest nameJet (#212529)
Black text1.37:1
White text15.28:1

Values

HEX#321F30
RGBrgb(50, 31, 48)
HSLhsl(306, 23%, 16%)
OKLCHoklch(27.1% 0.041 330.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 #321F30 15.28:1 AAA Lc -104.9 Preferred for body text
Black text on #321F30 1.37:1 Fails Lc 0.0 Not readable
#321F30 text on white 15.28:1 AAA Lc 102.1 Preferred for body text
#321F30 text on black 1.37: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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E7EE

    oklch(93.7% 0.013 333)

  3. Step 200

    200

    #E4D3E2

    oklch(88.5% 0.027 329.5)

  4. Step 300

    300

    #D4B6D0

    oklch(81% 0.049 330.4)

  5. Step 400

    400

    #BD8FB8

    oklch(70.7% 0.079 330.1)

  6. Step 500

    500

    #AC73A6

    oklch(63.2% 0.099 330.4)

  7. Step 600

    600

    #975A91

    oklch(55.6% 0.109 330.5)

  8. Step 700

    700

    #804A7B

    oklch(49% 0.1 330.4)

  9. Step 800

    800

    #683D64

    oklch(42.6% 0.083 330.3)

  10. Step 900

    900

    #553452

    oklch(37.6% 0.066 330)

  11. Step 950

    950 (this color)

    #321F30

    oklch(27.1% 0.041 330.4)

Export this scale for Tailwind in the Tailwind colors tool

#321F30 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)#1E24310.040
Deuteranopia (no green cones)#23262F0.036
Tritanopia (no blue cones)#3320250.022
Achromatopsia (no color)#2525250.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #321F30

    #321F30

    oklch(27.1% 0.041 330.4)

  • #172C1C

    #172C1C

    oklch(27% 0.04 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321F30

    #321F30

    oklch(27.1% 0.041 330.4)

  • #2A2238

    #2A2238

    oklch(27.2% 0.041 300.4)

  • #371E26

    #371E26

    oklch(27.1% 0.041 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #321F30

    #321F30

    oklch(27.1% 0.041 330.4)

  • #242A12

    #242A12

    oklch(27.2% 0.041 120.7)

  • #0A2D27

    #0A2D27

    oklch(27% 0.041 179.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321F30

    #321F30

    oklch(27.1% 0.041 330.4)

  • #2E260D

    #2E260D

    oklch(27.1% 0.041 91.7)

  • #082C32

    #082C32

    oklch(27.1% 0.041 210.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321F30

    #321F30

    oklch(27.1% 0.041 330.4)

  • #352211

    #352211

    oklch(27.1% 0.04 61.6)

  • #172C1C

    #172C1C

    oklch(27% 0.04 150.6)

  • #122939

    #122939

    oklch(27% 0.042 241)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #321F30 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.