#340733

Closest named color: Eggplant (#380835). oklch(23.6% 0.092 329), rgb(52, 7, 51).

Aa

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

About this color

#340733 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.092 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.011 away. White text reads best on it, at 17.15:1.

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

Values

HEX#340733
RGBrgb(52, 7, 51)
HSLhsl(301, 76%, 12%)
OKLCHoklch(23.6% 0.092 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 #340733 17.15:1 AAA Lc -105.9 Preferred for body text
Black text on #340733 1.22:1 Fails Lc 0.0 Not readable
#340733 text on white 17.15:1 AAA Lc 103.5 Preferred for body text
#340733 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

    #F1CBED

    oklch(88.5% 0.062 329.5)

  4. Step 300

    300

    #E8A7E3

    oklch(80.9% 0.109 329.2)

  5. Step 400

    400

    #DA74D5

    oklch(70.7% 0.174 329)

  6. Step 500

    500

    #CE47CA

    oklch(63.2% 0.223 329.1)

  7. Step 600

    600

    #B917B6

    oklch(55.6% 0.243 329.2)

  8. Step 700

    700

    #9F009D

    oklch(49.2% 0.225 329)

  9. Step 800

    800

    #810C7F

    oklch(42.6% 0.187 329.1)

  10. Step 900

    900

    #681866

    oklch(37.6% 0.146 329.1)

  11. Step 950

    950 (this color)

    #340733

    oklch(23.6% 0.092 329)

Export this scale for Tailwind in the Tailwind colors tool

#340733 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)#0218340.100
Deuteranopia (no green cones)#141D320.083
Tritanopia (no blue cones)#360D1C0.050
Achromatopsia (no color)#1B1B1B0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #340733

    #340733

    oklch(23.6% 0.092 329)

  • #00260B

    #00260B

    oklch(23.5% 0.066 149.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340733

    #340733

    oklch(23.6% 0.092 329)

  • #250F43

    #250F43

    oklch(23.6% 0.093 298.3)

  • #3D021D

    #3D021D

    oklch(23.6% 0.092 359.4)

Open the analogous palette in the generator

Split complementary

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

  • #340733

    #340733

    oklch(23.6% 0.092 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.

  • #340733

    #340733

    oklch(23.6% 0.092 329)

  • #271D00

    #271D00

    oklch(23.6% 0.048 90.5)

  • #002329

    #002329

    oklch(23.5% 0.041 211.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340733

    #340733

    oklch(23.6% 0.092 329)

  • #311600

    #311600

    oklch(23.5% 0.056 58.2)

  • #00260B

    #00260B

    oklch(23.5% 0.066 149.3)

  • #002134

    #002134

    oklch(23.5% 0.053 238.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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