#4B174B

Closest named color: Deep Violet (#490648). oklch(31.1% 0.106 327.8), rgb(75, 23, 75).

Aa

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

About this color

#4B174B is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.106 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.028 away. White text reads best on it, at 13.78:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.52:1
White text13.78:1

Values

HEX#4B174B
RGBrgb(75, 23, 75)
HSLhsl(300, 53%, 19%)
OKLCHoklch(31.1% 0.106 327.8)

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 #4B174B 13.78:1 AAA Lc -103.0 Preferred for body text
Black text on #4B174B 1.52:1 Fails Lc 0.0 Not readable
#4B174B text on white 13.78:1 AAA Lc 99.8 Preferred for body text
#4B174B text on black 1.52: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

    #FCF2FB

    oklch(97.1% 0.016 328.8)

  2. Step 100

    100

    #F8E2F6

    oklch(93.6% 0.036 328.7)

  3. Step 200

    200

    #F3C9F1

    oklch(88.4% 0.071 327.7)

  4. Step 300

    300

    #ECA3EA

    oklch(80.9% 0.125 327.6)

  5. Step 400

    400

    #E06BDF

    oklch(70.7% 0.201 327.8)

  6. Step 500

    500

    #D433D6

    oklch(63.1% 0.257 327.6)

  7. Step 600

    600

    #BA00BD

    oklch(55.5% 0.256 327.5)

  8. Step 700

    700

    #9E009F

    oklch(49.1% 0.226 328)

  9. Step 800

    800

    #820084

    oklch(42.7% 0.197 327.6)

  10. Step 900

    900

    #6C086D

    oklch(37.7% 0.167 327.8)

  11. Step 950

    950 (this color)

    #4B174B

    oklch(31.1% 0.106 327.8)

Export this scale for Tailwind in the Tailwind colors tool

#4B174B 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)#10294D0.110
Deuteranopia (no green cones)#232F4A0.094
Tritanopia (no blue cones)#4D1E2E0.060
Achromatopsia (no color)#2D2D2D0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #4B174B

    #4B174B

    oklch(31.1% 0.106 327.8)

  • #003C12

    #003C12

    oklch(31.1% 0.091 147.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4B174B

    #4B174B

    oklch(31.1% 0.106 327.8)

  • #38205E

    #38205E

    oklch(31.1% 0.106 297.7)

  • #571030

    #571030

    oklch(31.1% 0.106 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #4B174B

    #4B174B

    oklch(31.1% 0.106 327.8)

  • #2E3500

    #2E3500

    oklch(31.1% 0.072 117.5)

  • #003A30

    #003A30

    oklch(31.2% 0.058 176.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4B174B

    #4B174B

    oklch(31.1% 0.106 327.8)

  • #3E2E00

    #3E2E00

    oklch(31.1% 0.064 87.7)

  • #00383E

    #00383E

    oklch(31.1% 0.053 206.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4B174B

    #4B174B

    oklch(31.1% 0.106 327.8)

  • #4C2500

    #4C2500

    oklch(31.2% 0.075 57.6)

  • #003C12

    #003C12

    oklch(31.1% 0.091 147.7)

  • #00354F

    #00354F

    oklch(31.2% 0.069 237.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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