#340833

Closest named color: Eggplant (#380835). oklch(23.7% 0.091 329), rgb(52, 8, 51).

Aa

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

About this color

#340833 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.091 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.010 away. White text reads best on it, at 17.09:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.22:1
White text17.09:1

Values

HEX#340833
RGBrgb(52, 8, 51)
HSLhsl(301, 73%, 12%)
OKLCHoklch(23.7% 0.091 329)

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 #340833 17.09:1 AAA Lc -105.9 Preferred for body text
Black text on #340833 1.22:1 Fails Lc 0.0 Not readable
#340833 text on white 17.09:1 AAA Lc 103.4 Preferred for body text
#340833 text on black 1.22: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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #F0CCED

    oklch(88.6% 0.059 328.7)

  4. Step 300

    300

    #E7A8E3

    oklch(80.9% 0.106 328.6)

  5. Step 400

    400

    #D975D5

    oklch(70.7% 0.172 328.7)

  6. Step 500

    500

    #CD49C9

    oklch(63.2% 0.22 329)

  7. Step 600

    600

    #B81CB5

    oklch(55.6% 0.239 329.1)

  8. Step 700

    700

    #9E059C

    oklch(49.1% 0.222 329)

  9. Step 800

    800

    #80107F

    oklch(42.7% 0.184 328.6)

  10. Step 900

    900

    #681A66

    oklch(37.8% 0.143 329.1)

  11. Step 950

    950 (this color)

    #340833

    oklch(23.7% 0.091 329)

Export this scale for Tailwind in the Tailwind colors tool

#340833 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)#0318340.098
Deuteranopia (no green cones)#141E320.083
Tritanopia (no blue cones)#360E1C0.050
Achromatopsia (no color)#1C1C1C0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #340833

    #340833

    oklch(23.7% 0.091 329)

  • #00270B

    #00270B

    oklch(23.8% 0.067 149)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340833

    #340833

    oklch(23.7% 0.091 329)

  • #261042

    #261042

    oklch(23.8% 0.09 299.7)

  • #3D031E

    #3D031E

    oklch(23.8% 0.091 358.6)

Open the analogous palette in the generator

Split complementary

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

  • #340833

    #340833

    oklch(23.7% 0.091 329)

  • #1C2200

    #1C2200

    oklch(23.7% 0.056 118.9)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340833

    #340833

    oklch(23.7% 0.091 329)

  • #281D00

    #281D00

    oklch(23.8% 0.049 88.6)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340833

    #340833

    oklch(23.7% 0.091 329)

  • #311700

    #311700

    oklch(23.7% 0.056 60.2)

  • #00270B

    #00270B

    oklch(23.8% 0.067 149)

  • #002135

    #002135

    oklch(23.6% 0.054 239.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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