#512450

Closest named color: Grape Purple (#5D1451). oklch(34.2% 0.092 328.2), rgb(81, 36, 80).

Aa

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

About this color

#512450 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.092 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.037 away. White text reads best on it, at 12.22:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.71:1
White text12.22:1

Values

HEX#512450
RGBrgb(81, 36, 80)
HSLhsl(301, 38%, 23%)
OKLCHoklch(34.2% 0.092 328.2)

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 #512450 12.22:1 AAA Lc -101.1 Preferred for body text
Black text on #512450 1.71:1 Fails Lc 0.0 Not readable
#512450 text on white 12.22:1 AAA Lc 97.5 Preferred for body text
#512450 text on black 1.71: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

    #F2E5F1

    oklch(93.6% 0.021 328.1)

  3. Step 200

    200

    #E8D1E6

    oklch(88.6% 0.038 328.6)

  4. Step 300

    300

    #DAB1D7

    oklch(80.9% 0.069 328.6)

  5. Step 400

    400

    #C687C3

    oklch(70.6% 0.111 328.3)

  6. Step 500

    500

    #B767B4

    oklch(63.1% 0.142 328.5)

  7. Step 600

    600

    #A24DA0

    oklch(55.7% 0.154 328.3)

  8. Step 700

    700

    #8A3D89

    oklch(49.1% 0.144 328)

  9. Step 800

    800

    #70336F

    oklch(42.6% 0.118 328)

  10. Step 900

    900 (this color)

    #512450

    oklch(34.2% 0.092 328.2)

  11. Step 950

    950

    #361B35

    oklch(27.1% 0.06 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#512450 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)#2031510.092
Deuteranopia (no green cones)#2E374F0.080
Tritanopia (no blue cones)#5429360.052
Achromatopsia (no color)#3535350.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #512450

    #512450

    oklch(34.2% 0.092 328.2)

  • #07451A

    #07451A

    oklch(34.3% 0.093 148.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512450

    #512450

    oklch(34.2% 0.092 328.2)

  • #3F2B61

    #3F2B61

    oklch(34.1% 0.093 298.5)

  • #5C2038

    #5C2038

    oklch(34.2% 0.092 358.2)

Open the analogous palette in the generator

Split complementary

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

  • #512450

    #512450

    oklch(34.2% 0.092 328.2)

  • #353D00

    #353D00

    oklch(34.1% 0.079 117.7)

  • #004338

    #004338

    oklch(34.2% 0.063 177.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512450

    #512450

    oklch(34.2% 0.092 328.2)

  • #473600

    #473600

    oklch(34.2% 0.07 89.1)

  • #004048

    #004048

    oklch(34% 0.059 208.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512450

    #512450

    oklch(34.2% 0.092 328.2)

  • #572C00

    #572C00

    oklch(34.3% 0.082 58.5)

  • #07451A

    #07451A

    oklch(34.3% 0.093 148.2)

  • #003D5B

    #003D5B

    oklch(34.2% 0.076 238.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #512450 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.