#3A0C3B

Closest named color: Eggplant (#380835). oklch(25.8% 0.096 327), rgb(58, 12, 59).

Aa

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

About this color

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

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

Values

HEX#3A0C3B
RGBrgb(58, 12, 59)
HSLhsl(299, 66%, 14%)
OKLCHoklch(25.8% 0.096 327)

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 #3A0C3B 16.20:1 AAA Lc -105.2 Preferred for body text
Black text on #3A0C3B 1.29:1 Fails Lc 0.0 Not readable
#3A0C3B text on white 16.20:1 AAA Lc 102.6 Preferred for body text
#3A0C3B 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F6

    oklch(93.7% 0.032 325.8)

  3. Step 200

    200

    #F0CBEF

    oklch(88.4% 0.063 326.9)

  4. Step 300

    300

    #E8A6E7

    oklch(80.8% 0.115 327.1)

  5. Step 400

    400

    #DA72DB

    oklch(70.7% 0.183 326.9)

  6. Step 500

    500

    #CE43D1

    oklch(63.2% 0.234 327)

  7. Step 600

    600

    #B909BD

    oklch(55.6% 0.253 327.2)

  8. Step 700

    700

    #9D00A1

    oklch(49.1% 0.227 327)

  9. Step 800

    800

    #810384

    oklch(42.6% 0.195 327.1)

  10. Step 900

    900

    #68156A

    oklch(37.6% 0.152 327)

  11. Step 950

    950 (this color)

    #3A0C3B

    oklch(25.8% 0.096 327)

Export this scale for Tailwind in the Tailwind colors tool

#3A0C3B 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)#041D3C0.102
Deuteranopia (no green cones)#17223A0.086
Tritanopia (no blue cones)#3C13220.054
Achromatopsia (no color)#2020200.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A0C3B

    #3A0C3B

    oklch(25.8% 0.096 327)

  • #002D0A

    #002D0A

    oklch(25.9% 0.077 146.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A0C3B

    #3A0C3B

    oklch(25.8% 0.096 327)

  • #2A144B

    #2A144B

    oklch(25.7% 0.097 297.5)

  • #440524

    #440524

    oklch(25.7% 0.096 357)

Open the analogous palette in the generator

Split complementary

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

  • #3A0C3B

    #3A0C3B

    oklch(25.8% 0.096 327)

  • #222700

    #222700

    oklch(25.9% 0.06 116.8)

  • #002B23

    #002B23

    oklch(25.8% 0.048 176.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A0C3B

    #3A0C3B

    oklch(25.8% 0.096 327)

  • #2E2100

    #2E2100

    oklch(25.6% 0.052 86.9)

  • #00292E

    #00292E

    oklch(25.7% 0.044 207.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A0C3B

    #3A0C3B

    oklch(25.8% 0.096 327)

  • #391A00

    #391A00

    oklch(25.7% 0.062 57.2)

  • #002D0A

    #002D0A

    oklch(25.9% 0.077 146.9)

  • #00273B

    #00273B

    oklch(25.8% 0.056 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A0C3B 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.