#510D46

Closest named color: Deep Violet (#490648). oklch(30.7% 0.119 335.7), rgb(81, 13, 70).

Aa

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

About this color

#510D46 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.119 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.024 away. White text reads best on it, at 14.03:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.49:1
White text14.03:1

Values

HEX#510D46
RGBrgb(81, 13, 70)
HSLhsl(310, 72%, 18%)
OKLCHoklch(30.7% 0.119 335.7)

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 #510D46 14.03:1 AAA Lc -103.0 Preferred for body text
Black text on #510D46 1.49:1 Fails Lc 0.0 Not readable
#510D46 text on white 14.03:1 AAA Lc 99.8 Preferred for body text
#510D46 text on black 1.49: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

    #FEF1FA

    oklch(97.1% 0.018 336.5)

  2. Step 100

    100

    #FCE0F4

    oklch(93.5% 0.04 336.1)

  3. Step 200

    200

    #FBC6ED

    oklch(88.5% 0.078 335.9)

  4. Step 300

    300

    #F99CE3

    oklch(80.9% 0.141 336)

  5. Step 400

    400

    #F15CD5

    oklch(70.7% 0.225 335.8)

  6. Step 500

    500

    #E500C8

    oklch(63% 0.28 335.6)

  7. Step 600

    600

    #C200A9

    oklch(55.7% 0.247 335.7)

  8. Step 700

    700

    #A4008E

    oklch(49.1% 0.217 335.9)

  9. Step 800

    800

    #870075

    oklch(42.6% 0.189 335.7)

  10. Step 900

    900

    #720062

    oklch(37.7% 0.167 336)

  11. Step 950

    950 (this color)

    #510D46

    oklch(30.7% 0.119 335.7)

Export this scale for Tailwind in the Tailwind colors tool

#510D46 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)#0E25480.130
Deuteranopia (no green cones)#262F440.111
Tritanopia (no blue cones)#5613290.059
Achromatopsia (no color)#2C2C2C0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #510D46

    #510D46

    oklch(30.7% 0.119 335.7)

  • #003A1F

    #003A1F

    oklch(30.6% 0.074 156.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #510D46

    #510D46

    oklch(30.7% 0.119 335.7)

  • #3F185E

    #3F185E

    oklch(30.8% 0.12 306)

  • #5C0427

    #5C0427

    oklch(30.8% 0.119 5.6)

Open the analogous palette in the generator

Split complementary

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

  • #510D46

    #510D46

    oklch(30.7% 0.119 335.7)

  • #263600

    #263600

    oklch(30.7% 0.078 125.7)

  • #003834

    #003834

    oklch(30.7% 0.054 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #510D46

    #510D46

    oklch(30.7% 0.119 335.7)

  • #392F00

    #392F00

    oklch(30.7% 0.063 96.2)

  • #003641

    #003641

    oklch(30.7% 0.055 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #510D46

    #510D46

    oklch(30.7% 0.119 335.7)

  • #472700

    #472700

    oklch(30.8% 0.069 64.9)

  • #003A1F

    #003A1F

    oklch(30.6% 0.074 156.2)

  • #003254

    #003254

    oklch(30.7% 0.078 245.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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