#340721

Closest named color: Dark Plum (#3F012C). oklch(22.5% 0.078 349.6), rgb(52, 7, 33).

Aa

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

About this color

#340721 is a very dark, moderately saturated red. In OKLCH its lightness is 23%, its chroma 0.078 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.034 away. White text reads best on it, at 17.52:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.19:1
White text17.52:1

Values

HEX#340721
RGBrgb(52, 7, 33)
HSLhsl(325, 76%, 12%)
OKLCHoklch(22.5% 0.078 349.6)

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 #340721 17.52:1 AAA Lc -106.2 Preferred for body text
Black text on #340721 1.19:1 Fails Lc 0.0 Not readable
#340721 text on white 17.52:1 AAA Lc 103.8 Preferred for body text
#340721 text on black 1.19: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EEA8C9

    oklch(80.8% 0.092 349.5)

  5. Step 400

    400

    #E377AE

    oklch(70.7% 0.147 349.7)

  6. Step 500

    500

    #D74E9A

    oklch(63.1% 0.188 349.5)

  7. Step 600

    600

    #C22985

    oklch(55.5% 0.204 349.3)

  8. Step 700

    700

    #A71870

    oklch(49% 0.19 349.6)

  9. Step 800

    800

    #88195B

    oklch(42.7% 0.157 349.8)

  10. Step 900

    900

    #6E1D4B

    oklch(37.7% 0.124 349.7)

  11. Step 950

    950 (this color)

    #340721

    oklch(22.5% 0.078 349.6)

Export this scale for Tailwind in the Tailwind colors tool

#340721 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)#0E14220.086
Deuteranopia (no green cones)#1B1C200.076
Tritanopia (no blue cones)#3905120.031
Achromatopsia (no color)#1919190.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #340721

    #340721

    oklch(22.5% 0.078 349.6)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340721

    #340721

    oklch(22.5% 0.078 349.6)

  • #2B0C32

    #2B0C32

    oklch(22.6% 0.078 319.8)

  • #38060C

    #38060C

    oklch(22.5% 0.078 19.5)

Open the analogous palette in the generator

Split complementary

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

  • #340721

    #340721

    oklch(22.5% 0.078 349.6)

  • #052300

    #052300

    oklch(22.5% 0.072 139.8)

  • #002123

    #002123

    oklch(22.5% 0.038 200.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340721

    #340721

    oklch(22.5% 0.078 349.6)

  • #1D1D00

    #1D1D00

    oklch(22.3% 0.049 109.8)

  • #001F2C

    #001F2C

    oklch(22.4% 0.044 229.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340721

    #340721

    oklch(22.5% 0.078 349.6)

  • #271900

    #271900

    oklch(22.6% 0.047 80.5)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

  • #031A3F

    #031A3F

    oklch(22.6% 0.077 258.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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