#321B45

Closest named color: Dark Purple (#35063E). oklch(27.5% 0.078 307.3), rgb(50, 27, 69).

Aa

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

About this color

#321B45 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.078 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.045 away. White text reads best on it, at 15.23:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.37:1
White text15.23:1

Values

HEX#321B45
RGBrgb(50, 27, 69)
HSLhsl(273, 44%, 19%)
OKLCHoklch(27.5% 0.078 307.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 #321B45 15.23:1 AAA Lc -104.7 Preferred for body text
Black text on #321B45 1.37:1 Fails Lc 0.0 Not readable
#321B45 text on white 15.23:1 AAA Lc 101.9 Preferred for body text
#321B45 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F8

    oklch(93.7% 0.026 308.2)

  3. Step 200

    200

    #E2D1F4

    oklch(88.5% 0.051 307.2)

  4. Step 300

    300

    #D1B1F0

    oklch(81% 0.093 307.5)

  5. Step 400

    400

    #B985E8

    oklch(70.6% 0.149 307.2)

  6. Step 500

    500

    #A863E1

    oklch(63.1% 0.189 307.1)

  7. Step 600

    600

    #9445CE

    oklch(55.6% 0.206 307.4)

  8. Step 700

    700

    #7E35B3

    oklch(49.1% 0.192 307.2)

  9. Step 800

    800

    #662D91

    oklch(42.6% 0.16 307)

  10. Step 900

    900

    #532A73

    oklch(37.6% 0.124 307.4)

  11. Step 950

    950 (this color)

    #321B45

    oklch(27.5% 0.078 307.3)

Export this scale for Tailwind in the Tailwind colors tool

#321B45 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)#0D25460.064
Deuteranopia (no green cones)#1526440.057
Tritanopia (no blue cones)#2F232D0.056
Achromatopsia (no color)#2525250.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #321B45

    #321B45

    oklch(27.5% 0.078 307.3)

  • #1E2E00

    #1E2E00

    oklch(27.6% 0.072 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #321B45

    #321B45

    oklch(27.5% 0.078 307.3)

  • #1F224D

    #1F224D

    oklch(27.5% 0.078 277)

  • #3F1635

    #3F1635

    oklch(27.6% 0.078 338)

Open the analogous palette in the generator

Split complementary

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

  • #321B45

    #321B45

    oklch(27.5% 0.078 307.3)

  • #2F2700

    #2F2700

    oklch(27.4% 0.056 97.3)

  • #00311A

    #00311A

    oklch(27.6% 0.066 156.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #321B45

    #321B45

    oklch(27.5% 0.078 307.3)

  • #3B2100

    #3B2100

    oklch(27.6% 0.061 67.7)

  • #002F2C

    #002F2C

    oklch(27.5% 0.048 188.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #321B45

    #321B45

    oklch(27.5% 0.078 307.3)

  • #461607

    #461607

    oklch(27.5% 0.078 37.5)

  • #1E2E00

    #1E2E00

    oklch(27.6% 0.072 127.4)

  • #002D37

    #002D37

    oklch(27.4% 0.049 217.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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