#3A0228

Closest named color: Dark Plum (#3F012C). oklch(23.5% 0.096 345), rgb(58, 2, 40).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (23%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.21:1
White text17.22:1

Values

HEX#3A0228
RGBrgb(58, 2, 40)
HSLhsl(319, 93%, 12%)
OKLCHoklch(23.5% 0.096 345)

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 #3A0228 17.22:1 AAA Lc -105.7 Preferred for body text
Black text on #3A0228 1.21:1 Fails Lc 0.0 Not readable
#3A0228 text on white 17.22:1 AAA Lc 103.2 Preferred for body text
#3A0228 text on black 1.21: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

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE2EF

    oklch(93.7% 0.032 345)

  3. Step 200

    200

    #F9C9E3

    oklch(88.5% 0.064 344.7)

  4. Step 300

    300

    #F5A3D1

    oklch(80.9% 0.112 345.2)

  5. Step 400

    400

    #EC6BBA

    oklch(70.7% 0.181 345)

  6. Step 500

    500

    #E236A9

    oklch(63.1% 0.232 344.9)

  7. Step 600

    600

    #C80092

    oklch(55.5% 0.236 344.9)

  8. Step 700

    700

    #AA007B

    oklch(49.2% 0.209 345.1)

  9. Step 800

    800

    #8C0065

    oklch(42.7% 0.182 344.9)

  10. Step 900

    900

    #730B53

    oklch(37.6% 0.151 345)

  11. Step 950

    950 (this color)

    #3A0228

    oklch(23.5% 0.096 345)

Export this scale for Tailwind in the Tailwind colors tool

#3A0228 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)#0915290.109
Deuteranopia (no green cones)#1B1E270.092
Tritanopia (no blue cones)#3F01140.041
Achromatopsia (no color)#1B1B1B0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A0228

    #3A0228

    oklch(23.5% 0.096 345)

  • #002518

    #002518

    oklch(23.4% 0.049 165)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A0228

    #3A0228

    oklch(23.5% 0.096 345)

  • #2E093C

    #2E093C

    oklch(23.5% 0.095 314.8)

  • #3F000F

    #3F000F

    oklch(23.4% 0.093 14.8)

Open the analogous palette in the generator

Split complementary

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

  • #3A0228

    #3A0228

    oklch(23.5% 0.096 345)

  • #0E2500

    #0E2500

    oklch(23.6% 0.069 135.2)

  • #002424

    #002424

    oklch(23.6% 0.04 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A0228

    #3A0228

    oklch(23.5% 0.096 345)

  • #221F00

    #221F00

    oklch(23.5% 0.05 104.4)

  • #00222E

    #00222E

    oklch(23.5% 0.045 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A0228

    #3A0228

    oklch(23.5% 0.096 345)

  • #2B1A00

    #2B1A00

    oklch(23.4% 0.049 75.8)

  • #002518

    #002518

    oklch(23.4% 0.049 165)

  • #001D41

    #001D41

    oklch(23.4% 0.077 255)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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