#3A114C

Closest named color: Eggplant Purple (#430541). oklch(27.7% 0.107 313.5), rgb(58, 17, 76).

Aa

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

About this color

#3A114C is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.107 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.033 away. White text reads best on it, at 15.39:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.36:1
White text15.39:1

Values

HEX#3A114C
RGBrgb(58, 17, 76)
HSLhsl(282, 63%, 18%)
OKLCHoklch(27.7% 0.107 313.5)

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 #3A114C 15.39:1 AAA Lc -104.6 Preferred for body text
Black text on #3A114C 1.36:1 Fails Lc 0.0 Not readable
#3A114C text on white 15.39:1 AAA Lc 101.8 Preferred for body text
#3A114C text on black 1.36: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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F3E3FC

    oklch(93.6% 0.037 313.6)

  3. Step 200

    200

    #EACCFB

    oklch(88.5% 0.071 313.3)

  4. Step 300

    300

    #DEA8FA

    oklch(81% 0.126 313.7)

  5. Step 400

    400

    #CC73F8

    oklch(70.7% 0.202 313.3)

  6. Step 500

    500

    #BF41F4

    oklch(63.1% 0.259 313.6)

  7. Step 600

    600

    #AA00E1

    oklch(55.7% 0.276 313.5)

  8. Step 700

    700

    #8F00BE

    oklch(49.1% 0.244 313.5)

  9. Step 800

    800

    #76009E

    oklch(42.7% 0.212 313.3)

  10. Step 900

    900

    #60137F

    oklch(37.8% 0.169 313.3)

  11. Step 950

    950 (this color)

    #3A114C

    oklch(27.7% 0.107 313.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A114C 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)#00234E0.097
Deuteranopia (no green cones)#0D264B0.089
Tritanopia (no blue cones)#381D2D0.070
Achromatopsia (no color)#2525250.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A114C

    #3A114C

    oklch(27.7% 0.107 313.5)

  • #173000

    #173000

    oklch(27.8% 0.079 133.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A114C

    #3A114C

    oklch(27.7% 0.107 313.5)

  • #241B5A

    #241B5A

    oklch(27.7% 0.108 283.3)

  • #480735

    #480735

    oklch(27.6% 0.107 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A114C

    #3A114C

    oklch(27.7% 0.107 313.5)

  • #2D2900

    #2D2900

    oklch(27.7% 0.058 103.9)

  • #003120

    #003120

    oklch(27.7% 0.059 163.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A114C

    #3A114C

    oklch(27.7% 0.107 313.5)

  • #392300

    #392300

    oklch(27.7% 0.059 74.1)

  • #002F2F

    #002F2F

    oklch(27.6% 0.047 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A114C

    #3A114C

    oklch(27.7% 0.107 313.5)

  • #471700

    #471700

    oklch(27.7% 0.081 43.8)

  • #173000

    #173000

    oklch(27.8% 0.079 133.5)

  • #002D3B

    #002D3B

    oklch(27.6% 0.052 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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