#3A1234

Closest named color: Aubergine (#3D0734). oklch(26.1% 0.08 333.9), rgb(58, 18, 52).

Aa

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

About this color

#3A1234 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.080 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.021 away. White text reads best on it, at 15.95:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameAubergine (#3D0734)
Black text1.31:1
White text15.95:1

Values

HEX#3A1234
RGBrgb(58, 18, 52)
HSLhsl(309, 53%, 15%)
OKLCHoklch(26.1% 0.08 333.9)

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 #3A1234 15.95:1 AAA Lc -105.2 Preferred for body text
Black text on #3A1234 1.31:1 Fails Lc 0.0 Not readable
#3A1234 text on white 15.95:1 AAA Lc 102.5 Preferred for body text
#3A1234 text on black 1.31: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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CDE8

    oklch(88.6% 0.053 334)

  4. Step 300

    300

    #E7AADA

    oklch(81% 0.095 334.2)

  5. Step 400

    400

    #D87AC7

    oklch(70.8% 0.15 334.1)

  6. Step 500

    500

    #CB52B9

    oklch(63.1% 0.194 333.8)

  7. Step 600

    600

    #B630A5

    oklch(55.6% 0.21 333.8)

  8. Step 700

    700

    #9C208D

    oklch(49% 0.195 333.8)

  9. Step 800

    800

    #7F1E73

    oklch(42.7% 0.162 333.6)

  10. Step 900

    900

    #67205D

    oklch(37.8% 0.127 333.8)

  11. Step 950

    950 (this color)

    #3A1234

    oklch(26.1% 0.08 333.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A1234 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)#111E350.084
Deuteranopia (no green cones)#1E24330.073
Tritanopia (no blue cones)#3D15200.042
Achromatopsia (no color)#2222220.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A1234

    #3A1234

    oklch(26.1% 0.08 333.9)

  • #002D15

    #002D15

    oklch(26.1% 0.065 154.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A1234

    #3A1234

    oklch(26.1% 0.08 333.9)

  • #2D1843

    #2D1843

    oklch(26.2% 0.079 304)

  • #420F20

    #420F20

    oklch(26.3% 0.08 4.1)

Open the analogous palette in the generator

Split complementary

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

  • #3A1234

    #3A1234

    oklch(26.1% 0.08 333.9)

  • #1E2900

    #1E2900

    oklch(26.1% 0.065 123.7)

  • #002B27

    #002B27

    oklch(26% 0.046 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A1234

    #3A1234

    oklch(26.1% 0.08 333.9)

  • #2D2300

    #2D2300

    oklch(26% 0.053 92.9)

  • #002A32

    #002A32

    oklch(26.2% 0.046 213.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A1234

    #3A1234

    oklch(26.1% 0.08 333.9)

  • #381D00

    #381D00

    oklch(26.2% 0.059 63.7)

  • #002D15

    #002D15

    oklch(26.1% 0.065 154.4)

  • #002741

    #002741

    oklch(26.2% 0.064 243.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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