#4A3258

Closest named color: Onyx (#343A40). oklch(36.2% 0.07 312.3), rgb(74, 50, 88).

Aa

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

About this color

#4A3258 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.070 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.067 away. White text reads best on it, at 11.12:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.070)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.88:1
White text11.12:1

Values

HEX#4A3258
RGBrgb(74, 50, 88)
HSLhsl(278, 28%, 27%)
OKLCHoklch(36.2% 0.07 312.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 #4A3258 11.12:1 AAA Lc -99.4 Preferred for body text
Black text on #4A3258 1.88:1 Fails Lc 8.3 Not readable
#4A3258 text on white 11.12:1 AAA Lc 95.6 Preferred for body text
#4A3258 text on black 1.88: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 900.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #E0D4E7

    oklch(88.5% 0.029 313.3)

  4. Step 300

    300

    #CCB7DA

    oklch(80.8% 0.054 311.9)

  5. Step 400

    400

    #B292C7

    oklch(70.7% 0.083 311.6)

  6. Step 500

    500

    #9F76B8

    oklch(63.1% 0.106 312)

  7. Step 600

    600

    #8A5DA4

    oklch(55.5% 0.117 312.2)

  8. Step 700

    700

    #754D8D

    oklch(49.1% 0.108 311.8)

  9. Step 800

    800

    #603F72

    oklch(42.7% 0.09 312.8)

  10. Step 900

    900 (this color)

    #4A3258

    oklch(36.2% 0.07 312.3)

  11. Step 950

    950

    #2E2036

    oklch(27.1% 0.044 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#4A3258 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)#2B3A590.055
Deuteranopia (no green cones)#313C570.050
Tritanopia (no blue cones)#4937400.049
Achromatopsia (no color)#3B3B3B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A3258

    #4A3258

    oklch(36.2% 0.07 312.3)

  • #2F451C

    #2F451C

    oklch(36.1% 0.07 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A3258

    #4A3258

    oklch(36.2% 0.07 312.3)

  • #383861

    #383861

    oklch(36.1% 0.07 282.3)

  • #562E48

    #562E48

    oklch(36.2% 0.069 341.7)

Open the analogous palette in the generator

Split complementary

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

  • #4A3258

    #4A3258

    oklch(36.2% 0.07 312.3)

  • #453F09

    #453F09

    oklch(36.3% 0.07 102.7)

  • #104932

    #104932

    oklch(36.2% 0.071 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A3258

    #4A3258

    oklch(36.2% 0.07 312.3)

  • #54370B

    #54370B

    oklch(36.3% 0.07 72.5)

  • #004846

    #004846

    oklch(36.3% 0.062 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A3258

    #4A3258

    oklch(36.2% 0.07 312.3)

  • #5C301E

    #5C301E

    oklch(36.2% 0.07 42.5)

  • #2F451C

    #2F451C

    oklch(36.1% 0.07 132.3)

  • #004557

    #004557

    oklch(36.2% 0.067 222.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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