#341A3F

Closest named color: Eggplant (#380835). oklch(27.2% 0.073 315), rgb(52, 26, 63).

Aa

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

About this color

#341A3F is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.073 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.041 away. White text reads best on it, at 15.37:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.36:1
White text15.37:1

Values

HEX#341A3F
RGBrgb(52, 26, 63)
HSLhsl(282, 42%, 17%)
OKLCHoklch(27.2% 0.073 315)

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 #341A3F 15.37:1 AAA Lc -104.8 Preferred for body text
Black text on #341A3F 1.36:1 Fails Lc 0.0 Not readable
#341A3F text on white 15.37:1 AAA Lc 102.1 Preferred for body text
#341A3F text on black 1.36: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0EF

    oklch(88.4% 0.048 315)

  4. Step 300

    300

    #D6B0E7

    oklch(80.9% 0.086 315.3)

  5. Step 400

    400

    #C184DB

    oklch(70.6% 0.139 315.3)

  6. Step 500

    500

    #B162D1

    oklch(63.1% 0.177 315.3)

  7. Step 600

    600

    #9C45BE

    oklch(55.6% 0.192 315.2)

  8. Step 700

    700

    #8536A4

    oklch(49.1% 0.178 315)

  9. Step 800

    800

    #6C2E85

    oklch(42.7% 0.147 314.9)

  10. Step 900

    900

    #582A6B

    oklch(37.7% 0.116 314.9)

  11. Step 950

    950 (this color)

    #341A3F

    oklch(27.2% 0.073 315)

Export this scale for Tailwind in the Tailwind colors tool

#341A3F 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)#1223400.063
Deuteranopia (no green cones)#1A253E0.056
Tritanopia (no blue cones)#3320290.050
Achromatopsia (no color)#2525250.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #341A3F

    #341A3F

    oklch(27.2% 0.073 315)

  • #162E04

    #162E04

    oklch(27.1% 0.072 134.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #341A3F

    #341A3F

    oklch(27.2% 0.073 315)

  • #242049

    #242049

    oklch(27.2% 0.074 284.8)

  • #3F162F

    #3F162F

    oklch(27.3% 0.073 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #341A3F

    #341A3F

    oklch(27.2% 0.073 315)

  • #2B2800

    #2B2800

    oklch(27.1% 0.058 105.3)

  • #002F20

    #002F20

    oklch(27.1% 0.056 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #341A3F

    #341A3F

    oklch(27.2% 0.073 315)

  • #372200

    #372200

    oklch(27.2% 0.057 74.9)

  • #002E2E

    #002E2E

    oklch(27.3% 0.047 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #341A3F

    #341A3F

    oklch(27.2% 0.073 315)

  • #431803

    #431803

    oklch(27.2% 0.074 44.2)

  • #162E04

    #162E04

    oklch(27.1% 0.072 134.7)

  • #002C3A

    #002C3A

    oklch(27.3% 0.052 225)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #341A3F 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.