#3A0C2A

Closest named color: Dark Plum (#3F012C). oklch(24.8% 0.081 344.6), rgb(58, 12, 42).

Aa

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

About this color

#3A0C2A is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.081 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.022 away. White text reads best on it, at 16.58:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.26:1
White text16.58:1

Values

HEX#3A0C2A
RGBrgb(58, 12, 42)
HSLhsl(321, 66%, 14%)
OKLCHoklch(24.8% 0.081 344.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 #3A0C2A 16.58:1 AAA Lc -105.6 Preferred for body text
Black text on #3A0C2A 1.26:1 Fails Lc 0.0 Not readable
#3A0C2A text on white 16.58:1 AAA Lc 103.0 Preferred for body text
#3A0C2A text on black 1.26: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EEA8CF

    oklch(81% 0.096 345)

  5. Step 400

    400

    #E275B7

    oklch(70.6% 0.155 344.6)

  6. Step 500

    500

    #D64BA5

    oklch(63% 0.197 344.5)

  7. Step 600

    600

    #C22490

    oklch(55.7% 0.215 344.8)

  8. Step 700

    700

    #A7127A

    oklch(49.2% 0.199 345)

  9. Step 800

    800

    #871564

    oklch(42.6% 0.165 344.3)

  10. Step 900

    900

    #6D1C51

    oklch(37.7% 0.128 344.8)

  11. Step 950

    950 (this color)

    #3A0C2A

    oklch(24.8% 0.081 344.6)

Export this scale for Tailwind in the Tailwind colors tool

#3A0C2A 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)#111A2B0.089
Deuteranopia (no green cones)#1F21290.078
Tritanopia (no blue cones)#3E0C190.034
Achromatopsia (no color)#1E1E1E0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A0C2A

    #3A0C2A

    oklch(24.8% 0.081 344.6)

  • #00291A

    #00291A

    oklch(24.9% 0.053 163.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A0C2A

    #3A0C2A

    oklch(24.8% 0.081 344.6)

  • #2F123B

    #2F123B

    oklch(24.8% 0.08 314.8)

  • #3F0A14

    #3F0A14

    oklch(24.7% 0.081 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #3A0C2A

    #3A0C2A

    oklch(24.8% 0.081 344.6)

  • #112800

    #112800

    oklch(24.8% 0.072 134.4)

  • #002727

    #002727

    oklch(24.7% 0.042 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A0C2A

    #3A0C2A

    oklch(24.8% 0.081 344.6)

  • #252200

    #252200

    oklch(24.7% 0.052 104.7)

  • #002532

    #002532

    oklch(24.6% 0.047 226.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A0C2A

    #3A0C2A

    oklch(24.8% 0.081 344.6)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

  • #00291A

    #00291A

    oklch(24.9% 0.053 163.5)

  • #002046

    #002046

    oklch(24.7% 0.081 254.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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