#3A123D

Closest named color: Eggplant (#380835). oklch(26.7% 0.089 324.9), rgb(58, 18, 61).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.33:1
White text15.74:1

Values

HEX#3A123D
RGBrgb(58, 18, 61)
HSLhsl(296, 54%, 15%)
OKLCHoklch(26.7% 0.089 324.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 #3A123D 15.74:1 AAA Lc -105.0 Preferred for body text
Black text on #3A123D 1.33:1 Fails Lc 0.0 Not readable
#3A123D text on white 15.74:1 AAA Lc 102.3 Preferred for body text
#3A123D text on black 1.33: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

    #F5E3F5

    oklch(93.5% 0.031 325.8)

  3. Step 200

    200

    #EECDEF

    oklch(88.6% 0.058 325.1)

  4. Step 300

    300

    #E3A9E6

    oklch(80.8% 0.105 324.9)

  5. Step 400

    400

    #D478DA

    oklch(70.8% 0.168 324.9)

  6. Step 500

    500

    #C64ECF

    oklch(63.1% 0.214 324.9)

  7. Step 600

    600

    #B226BC

    oklch(55.6% 0.234 325.1)

  8. Step 700

    700

    #9814A2

    oklch(49% 0.217 324.8)

  9. Step 800

    800

    #7C1784

    oklch(42.7% 0.181 324.7)

  10. Step 900

    900

    #641D6A

    oklch(37.7% 0.141 324.6)

  11. Step 950

    950 (this color)

    #3A123D

    oklch(26.7% 0.089 324.9)

Export this scale for Tailwind in the Tailwind colors tool

#3A123D 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)#0B203E0.090
Deuteranopia (no green cones)#1A253C0.078
Tritanopia (no blue cones)#3B18250.052
Achromatopsia (no color)#2323230.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A123D

    #3A123D

    oklch(26.7% 0.089 324.9)

  • #003006

    #003006

    oklch(26.9% 0.085 144.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A123D

    #3A123D

    oklch(26.7% 0.089 324.9)

  • #2A194C

    #2A194C

    oklch(26.7% 0.09 294.9)

  • #440C28

    #440C28

    oklch(26.6% 0.089 354.5)

Open the analogous palette in the generator

Split complementary

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

  • #3A123D

    #3A123D

    oklch(26.7% 0.089 324.9)

  • #252900

    #252900

    oklch(26.8% 0.061 115.3)

  • #002D24

    #002D24

    oklch(26.5% 0.05 175.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A123D

    #3A123D

    oklch(26.7% 0.089 324.9)

  • #322300

    #322300

    oklch(26.7% 0.055 84.6)

  • #002C30

    #002C30

    oklch(26.7% 0.046 204.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A123D

    #3A123D

    oklch(26.7% 0.089 324.9)

  • #3D1B00

    #3D1B00

    oklch(26.6% 0.066 55.2)

  • #003006

    #003006

    oklch(26.9% 0.085 144.8)

  • #00293D

    #00293D

    oklch(26.6% 0.057 235.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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