#341228

Closest named color: Eggplant (#380835). oklch(24.4% 0.063 343.2), rgb(52, 18, 40).

Aa

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

About this color

#341228 is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.063 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.036 away. White text reads best on it, at 16.62:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.26:1
White text16.62:1

Values

HEX#341228
RGBrgb(52, 18, 40)
HSLhsl(321, 49%, 14%)
OKLCHoklch(24.4% 0.063 343.2)

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 #341228 16.62:1 AAA Lc -105.8 Preferred for body text
Black text on #341228 1.26:1 Fails Lc 0.0 Not readable
#341228 text on white 16.62:1 AAA Lc 103.3 Preferred for body text
#341228 text on black 1.26: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E4EE

    oklch(93.5% 0.023 341.3)

  3. Step 200

    200

    #EECFE0

    oklch(88.5% 0.041 343.8)

  4. Step 300

    300

    #E4AECD

    oklch(80.9% 0.075 343.5)

  5. Step 400

    400

    #D481B4

    oklch(70.6% 0.12 343.1)

  6. Step 500

    500

    #C75FA1

    oklch(63.2% 0.153 343.5)

  7. Step 600

    600

    #B2428C

    oklch(55.6% 0.167 343.4)

  8. Step 700

    700

    #993377

    oklch(49.2% 0.155 343.4)

  9. Step 800

    800

    #7C2B61

    oklch(42.7% 0.129 343.1)

  10. Step 900

    900

    #64284F

    oklch(37.6% 0.1 343.2)

  11. Step 950

    950 (this color)

    #341228

    oklch(24.4% 0.063 343.2)

Export this scale for Tailwind in the Tailwind colors tool

#341228 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)#151B290.067
Deuteranopia (no green cones)#1E20270.060
Tritanopia (no blue cones)#37121B0.026
Achromatopsia (no color)#1E1E1E0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #341228

    #341228

    oklch(24.4% 0.063 343.2)

  • #002819

    #002819

    oklch(24.5% 0.053 163.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #341228

    #341228

    oklch(24.4% 0.063 343.2)

  • #2B1635

    #2B1635

    oklch(24.5% 0.063 313.9)

  • #391117

    #391117

    oklch(24.5% 0.064 14)

Open the analogous palette in the generator

Split complementary

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

  • #341228

    #341228

    oklch(24.4% 0.063 343.2)

  • #132603

    #132603

    oklch(24.3% 0.063 133.3)

  • #002626

    #002626

    oklch(24.3% 0.042 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #341228

    #341228

    oklch(24.4% 0.063 343.2)

  • #252100

    #252100

    oklch(24.5% 0.051 102.9)

  • #002530

    #002530

    oklch(24.5% 0.045 222.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #341228

    #341228

    oklch(24.4% 0.063 343.2)

  • #2F1C00

    #2F1C00

    oklch(24.5% 0.052 73.9)

  • #002819

    #002819

    oklch(24.5% 0.053 163.1)

  • #06213D

    #06213D

    oklch(24.5% 0.063 252.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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