#3A174F

Closest named color: Eggplant Purple (#430541). oklch(28.7% 0.101 310.3), rgb(58, 23, 79).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.41:1
White text14.83:1

Values

HEX#3A174F
RGBrgb(58, 23, 79)
HSLhsl(278, 55%, 20%)
OKLCHoklch(28.7% 0.101 310.3)

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 #3A174F 14.83:1 AAA Lc -104.2 Preferred for body text
Black text on #3A174F 1.41:1 Fails Lc 0.0 Not readable
#3A174F text on white 14.83:1 AAA Lc 101.3 Preferred for body text
#3A174F text on black 1.41: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

    #F9F3FE

    oklch(97.2% 0.016 310.1)

  2. Step 100

    100

    #F1E4FC

    oklch(93.6% 0.035 309.8)

  3. Step 200

    200

    #E7CDFB

    oklch(88.4% 0.068 310.4)

  4. Step 300

    300

    #D9AAFA

    oklch(80.8% 0.12 310.7)

  5. Step 400

    400

    #C578F8

    oklch(70.6% 0.192 310.1)

  6. Step 500

    500

    #B74BF4

    oklch(63.1% 0.246 310.5)

  7. Step 600

    600

    #A31BE3

    oklch(55.7% 0.267 310.4)

  8. Step 700

    700

    #8B00C5

    oklch(49.1% 0.248 310.2)

  9. Step 800

    800

    #710F9F

    oklch(42.7% 0.205 310.4)

  10. Step 900

    900

    #5B1A7F

    oklch(37.6% 0.161 309.9)

  11. Step 950

    950 (this color)

    #3A174F

    oklch(28.7% 0.101 310.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A174F 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)#0026510.091
Deuteranopia (no green cones)#10284E0.080
Tritanopia (no blue cones)#3722300.070
Achromatopsia (no color)#2828280.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A174F

    #3A174F

    oklch(28.7% 0.101 310.3)

  • #1D3200

    #1D3200

    oklch(28.8% 0.078 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A174F

    #3A174F

    oklch(28.7% 0.101 310.3)

  • #23205B

    #23205B

    oklch(28.6% 0.102 280)

  • #490F3A

    #490F3A

    oklch(28.8% 0.102 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A174F

    #3A174F

    oklch(28.7% 0.101 310.3)

  • #322B00

    #322B00

    oklch(28.8% 0.06 99.7)

  • #00341F

    #00341F

    oklch(28.7% 0.065 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A174F

    #3A174F

    oklch(28.7% 0.101 310.3)

  • #3E2400

    #3E2400

    oklch(28.7% 0.062 69.6)

  • #003230

    #003230

    oklch(28.6% 0.049 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A174F

    #3A174F

    oklch(28.7% 0.101 310.3)

  • #4D1600

    #4D1600

    oklch(28.8% 0.089 40.7)

  • #1D3200

    #1D3200

    oklch(28.8% 0.078 130.4)

  • #00303D

    #00303D

    oklch(28.7% 0.053 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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