#510F4B

Closest named color: Plum Purple (#4E0550). oklch(31.2% 0.121 332.1), rgb(81, 15, 75).

Aa

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

About this color

#510F4B is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.121 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.020 away. White text reads best on it, at 13.81:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.51:1
White text13.81:1

Values

HEX#510F4B
RGBrgb(81, 15, 75)
HSLhsl(305, 69%, 19%)
OKLCHoklch(31.2% 0.121 332.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 #510F4B 13.81:1 AAA Lc -102.8 Preferred for body text
Black text on #510F4B 1.51:1 Fails Lc 0.0 Not readable
#510F4B text on white 13.81:1 AAA Lc 99.5 Preferred for body text
#510F4B text on black 1.51: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

    #FEF1FB

    oklch(97.1% 0.019 333.5)

  2. Step 100

    100

    #FBE0F6

    oklch(93.5% 0.041 332.1)

  3. Step 200

    200

    #F9C6F1

    oklch(88.4% 0.08 331.6)

  4. Step 300

    300

    #F69DE9

    oklch(80.9% 0.142 332.2)

  5. Step 400

    400

    #ED5CDE

    oklch(70.6% 0.229 332)

  6. Step 500

    500

    #E200D2

    oklch(63.1% 0.284 332.3)

  7. Step 600

    600

    #BF00B2

    oklch(55.7% 0.251 332.1)

  8. Step 700

    700

    #A10096

    oklch(49.1% 0.221 332.1)

  9. Step 800

    800

    #85007C

    oklch(42.7% 0.193 332)

  10. Step 900

    900

    #700068

    oklch(37.7% 0.17 332.1)

  11. Step 950

    950 (this color)

    #510F4B

    oklch(31.2% 0.121 332.1)

Export this scale for Tailwind in the Tailwind colors tool

#510F4B 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)#0A274D0.131
Deuteranopia (no green cones)#2530490.111
Tritanopia (no blue cones)#55172C0.064
Achromatopsia (no color)#2D2D2D0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #510F4B

    #510F4B

    oklch(31.2% 0.121 332.1)

  • #003C1B

    #003C1B

    oklch(31.2% 0.081 152.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #510F4B

    #510F4B

    oklch(31.2% 0.121 332.1)

  • #3D1A62

    #3D1A62

    oklch(31.1% 0.121 302)

  • #5D052C

    #5D052C

    oklch(31.3% 0.121 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #510F4B

    #510F4B

    oklch(31.2% 0.121 332.1)

  • #2A3600

    #2A3600

    oklch(31.1% 0.076 122.3)

  • #003A33

    #003A33

    oklch(31.3% 0.056 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #510F4B

    #510F4B

    oklch(31.2% 0.121 332.1)

  • #3C2F00

    #3C2F00

    oklch(31.1% 0.064 92.1)

  • #003841

    #003841

    oklch(31.3% 0.055 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #510F4B

    #510F4B

    oklch(31.2% 0.121 332.1)

  • #4A2700

    #4A2700

    oklch(31.2% 0.072 62.1)

  • #003C1B

    #003C1B

    oklch(31.2% 0.081 152.4)

  • #003453

    #003453

    oklch(31.2% 0.075 242.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #510F4B 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.