#4C2150

Closest named color: Grape Purple (#5D1451). oklch(32.9% 0.095 324.1), rgb(76, 33, 80).

Aa

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

About this color

#4C2150 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.095 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.041 away. White text reads best on it, at 12.79:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.64:1
White text12.79:1

Values

HEX#4C2150
RGBrgb(76, 33, 80)
HSLhsl(295, 42%, 22%)
OKLCHoklch(32.9% 0.095 324.1)

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 #4C2150 12.79:1 AAA Lc -101.9 Preferred for body text
Black text on #4C2150 1.64:1 Fails Lc 0.0 Not readable
#4C2150 text on white 12.79:1 AAA Lc 98.6 Preferred for body text
#4C2150 text on black 1.64: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D1E8

    oklch(88.6% 0.039 324.6)

  4. Step 300

    300

    #D8B2DB

    oklch(81% 0.07 323.9)

  5. Step 400

    400

    #C488C8

    oklch(70.8% 0.113 324.5)

  6. Step 500

    500

    #B468BA

    oklch(63.2% 0.145 324.4)

  7. Step 600

    600

    #9F4DA6

    oklch(55.6% 0.158 324.4)

  8. Step 700

    700

    #883D8F

    oklch(49.1% 0.148 324.1)

  9. Step 800

    800

    #6E3374

    oklch(42.6% 0.122 323.8)

  10. Step 900

    900 (this color)

    #4C2150

    oklch(32.9% 0.095 324.1)

  11. Step 950

    950

    #351B37

    oklch(27% 0.061 324.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C2150 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)#1A2F520.092
Deuteranopia (no green cones)#28344F0.081
Tritanopia (no blue cones)#4E27350.056
Achromatopsia (no color)#3232320.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2150

    #4C2150

    oklch(32.9% 0.095 324.1)

  • #0C4110

    #0C4110

    oklch(33% 0.095 144)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2150

    #4C2150

    oklch(32.9% 0.095 324.1)

  • #392960

    #392960

    oklch(33% 0.094 294)

  • #581C38

    #581C38

    oklch(33% 0.094 354.6)

Open the analogous palette in the generator

Split complementary

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

  • #4C2150

    #4C2150

    oklch(32.9% 0.095 324.1)

  • #353900

    #353900

    oklch(32.9% 0.074 114.1)

  • #003F33

    #003F33

    oklch(32.8% 0.062 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2150

    #4C2150

    oklch(32.9% 0.095 324.1)

  • #453200

    #453200

    oklch(33% 0.068 85.3)

  • #003D42

    #003D42

    oklch(32.8% 0.056 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2150

    #4C2150

    oklch(32.9% 0.095 324.1)

  • #542700

    #542700

    oklch(32.9% 0.082 54.5)

  • #0C4110

    #0C4110

    oklch(33% 0.095 144)

  • #003A53

    #003A53

    oklch(32.9% 0.069 234.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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