#4A173E

Closest named color: Deep Violet (#490648). oklch(30.1% 0.093 338), rgb(74, 23, 62).

Aa

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

About this color

#4A173E is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.093 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.037 away. White text reads best on it, at 14.15:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.48:1
White text14.15:1

Values

HEX#4A173E
RGBrgb(74, 23, 62)
HSLhsl(314, 53%, 19%)
OKLCHoklch(30.1% 0.093 338)

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 #4A173E 14.15:1 AAA Lc -103.4 Preferred for body text
Black text on #4A173E 1.48:1 Fails Lc 0.0 Not readable
#4A173E text on white 14.15:1 AAA Lc 100.4 Preferred for body text
#4A173E text on black 1.48: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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #F9E2F1

    oklch(93.6% 0.032 338.6)

  3. Step 200

    200

    #F5CAE7

    oklch(88.5% 0.061 338.3)

  4. Step 300

    300

    #EFA5D9

    oklch(80.9% 0.109 338.1)

  5. Step 400

    400

    #E46FC6

    oklch(70.6% 0.177 338.1)

  6. Step 500

    500

    #D93FB7

    oklch(63.1% 0.225 338.2)

  7. Step 600

    600

    #C400A3

    oklch(55.7% 0.244 338.1)

  8. Step 700

    700

    #A50089

    oklch(49% 0.215 338.1)

  9. Step 800

    800

    #890071

    oklch(42.8% 0.187 338.3)

  10. Step 900

    900

    #6E135C

    oklch(37.7% 0.147 337.7)

  11. Step 950

    950 (this color)

    #4A173E

    oklch(30.1% 0.093 338)

Export this scale for Tailwind in the Tailwind colors tool

#4A173E 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)#19263F0.099
Deuteranopia (no green cones)#282E3D0.088
Tritanopia (no blue cones)#4E19280.044
Achromatopsia (no color)#2B2B2B0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A173E

    #4A173E

    oklch(30.1% 0.093 338)

  • #003820

    #003820

    oklch(30% 0.07 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A173E

    #4A173E

    oklch(30.1% 0.093 338)

  • #3B1E51

    #3B1E51

    oklch(30.1% 0.092 308)

  • #521425

    #521425

    oklch(30.1% 0.092 8.2)

Open the analogous palette in the generator

Split complementary

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

  • #4A173E

    #4A173E

    oklch(30.1% 0.093 338)

  • #223500

    #223500

    oklch(30.1% 0.079 128.3)

  • #003633

    #003633

    oklch(30% 0.052 188.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A173E

    #4A173E

    oklch(30.1% 0.093 338)

  • #372E00

    #372E00

    oklch(30.2% 0.062 97.4)

  • #003440

    #003440

    oklch(30% 0.054 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A173E

    #4A173E

    oklch(30.1% 0.093 338)

  • #432700

    #432700

    oklch(30.2% 0.066 69.1)

  • #003820

    #003820

    oklch(30% 0.07 158.3)

  • #003054

    #003054

    oklch(30.1% 0.08 247.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4A173E 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.