#34123C

Closest named color: Eggplant (#380835). oklch(25.7% 0.084 319.6), rgb(52, 18, 60).

Aa

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

About this color

#34123C is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.084 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.023 away. White text reads best on it, at 16.18:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.29:1
White text16.18:1

Values

HEX#34123C
RGBrgb(52, 18, 60)
HSLhsl(289, 54%, 15%)
OKLCHoklch(25.7% 0.084 319.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 #34123C 16.18:1 AAA Lc -105.4 Preferred for body text
Black text on #34123C 1.29:1 Fails Lc 0.0 Not readable
#34123C text on white 16.18:1 AAA Lc 102.8 Preferred for body text
#34123C text on black 1.29: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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #EACEF1

    oklch(88.5% 0.056 319.5)

  4. Step 300

    300

    #DDACE9

    oklch(80.9% 0.099 319.6)

  5. Step 400

    400

    #CB7DDE

    oklch(70.7% 0.159 319.6)

  6. Step 500

    500

    #BD56D5

    oklch(63.2% 0.204 319.7)

  7. Step 600

    600

    #A834C2

    oklch(55.6% 0.222 319.5)

  8. Step 700

    700

    #9024A7

    oklch(49.1% 0.206 319.7)

  9. Step 800

    800

    #752188

    oklch(42.7% 0.171 319.5)

  10. Step 900

    900

    #5F226D

    oklch(37.7% 0.134 319.6)

  11. Step 950

    950 (this color)

    #34123C

    oklch(25.7% 0.084 319.6)

Export this scale for Tailwind in the Tailwind colors tool

#34123C 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)#081E3D0.081
Deuteranopia (no green cones)#15223B0.071
Tritanopia (no blue cones)#3419250.052
Achromatopsia (no color)#2121210.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #34123C

    #34123C

    oklch(25.7% 0.084 319.6)

  • #082C00

    #082C00

    oklch(25.7% 0.082 139.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34123C

    #34123C

    oklch(25.7% 0.084 319.6)

  • #241948

    #241948

    oklch(25.7% 0.084 290)

  • #3F0C29

    #3F0C29

    oklch(25.7% 0.085 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #34123C

    #34123C

    oklch(25.7% 0.084 319.6)

  • #252500

    #252500

    oklch(25.6% 0.056 109.8)

  • #002B1F

    #002B1F

    oklch(25.7% 0.051 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34123C

    #34123C

    oklch(25.7% 0.084 319.6)

  • #312000

    #312000

    oklch(25.8% 0.054 79.7)

  • #00292B

    #00292B

    oklch(25.5% 0.043 199.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34123C

    #34123C

    oklch(25.7% 0.084 319.6)

  • #3C1700

    #3C1700

    oklch(25.7% 0.068 50)

  • #082C00

    #082C00

    oklch(25.7% 0.082 139.6)

  • #002737

    #002737

    oklch(25.6% 0.051 230.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34123C 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.