#3A123E

Closest named color: Eggplant (#380835). oklch(26.8% 0.09 324), rgb(58, 18, 62).

Aa

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

About this color

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

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

Values

HEX#3A123E
RGBrgb(58, 18, 62)
HSLhsl(295, 55%, 16%)
OKLCHoklch(26.8% 0.09 324)

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 #3A123E 15.71:1 AAA Lc -105.0 Preferred for body text
Black text on #3A123E 1.33:1 Fails Lc 0.0 Not readable
#3A123E text on white 15.71:1 AAA Lc 102.3 Preferred for body text
#3A123E 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EDCCF0

    oklch(88.4% 0.06 323.4)

  4. Step 300

    300

    #E3A9E8

    oklch(80.9% 0.107 323.8)

  5. Step 400

    400

    #D377DC

    oklch(70.6% 0.171 323.9)

  6. Step 500

    500

    #C64DD2

    oklch(63.1% 0.218 324)

  7. Step 600

    600

    #B125BF

    oklch(55.6% 0.237 323.9)

  8. Step 700

    700

    #9812A5

    oklch(49.1% 0.221 323.8)

  9. Step 800

    800

    #7B1685

    oklch(42.6% 0.182 323.9)

  10. Step 900

    900

    #641C6B

    oklch(37.7% 0.143 324.1)

  11. Step 950

    950 (this color)

    #3A123E

    oklch(26.8% 0.09 324)

Export this scale for Tailwind in the Tailwind colors tool

#3A123E 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)#0A203F0.090
Deuteranopia (no green cones)#19253D0.079
Tritanopia (no blue cones)#3B18260.052
Achromatopsia (no color)#2323230.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A123E

    #3A123E

    oklch(26.8% 0.09 324)

  • #003004

    #003004

    oklch(26.8% 0.087 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A123E

    #3A123E

    oklch(26.8% 0.09 324)

  • #2A194C

    #2A194C

    oklch(26.7% 0.09 294.9)

  • #440C29

    #440C29

    oklch(26.7% 0.09 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #3A123E

    #3A123E

    oklch(26.8% 0.09 324)

  • #262900

    #262900

    oklch(26.9% 0.06 113.9)

  • #002E24

    #002E24

    oklch(26.9% 0.051 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A123E

    #3A123E

    oklch(26.8% 0.09 324)

  • #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.

  • #3A123E

    #3A123E

    oklch(26.8% 0.09 324)

  • #3E1B00

    #3E1B00

    oklch(26.8% 0.067 54.3)

  • #003004

    #003004

    oklch(26.8% 0.087 144)

  • #002A3D

    #002A3D

    oklch(26.9% 0.056 233.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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