#510E46

Closest named color: Deep Violet (#490648). oklch(30.8% 0.118 335.7), rgb(81, 14, 70).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.50:1
White text13.98:1

Values

HEX#510E46
RGBrgb(81, 14, 70)
HSLhsl(310, 71%, 19%)
OKLCHoklch(30.8% 0.118 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 #510E46 13.98:1 AAA Lc -102.9 Preferred for body text
Black text on #510E46 1.50:1 Fails Lc 0.0 Not readable
#510E46 text on white 13.98:1 AAA Lc 99.8 Preferred for body text
#510E46 text on black 1.50: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

    #F89DE3

    oklch(80.9% 0.138 335.7)

  5. Step 400

    400

    #F05DD5

    oklch(70.7% 0.223 335.6)

  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)

    #510E46

    oklch(30.8% 0.118 335.7)

Export this scale for Tailwind in the Tailwind colors tool

#510E46 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)#0F26470.129
Deuteranopia (no green cones)#272F440.109
Tritanopia (no blue cones)#5613290.058
Achromatopsia (no color)#2C2C2C0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #510E46

    #510E46

    oklch(30.8% 0.118 335.7)

  • #003B1F

    #003B1F

    oklch(31% 0.076 155.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #510E46

    #510E46

    oklch(30.8% 0.118 335.7)

  • #3F195E

    #3F195E

    oklch(30.9% 0.118 305.8)

  • #5C0527

    #5C0527

    oklch(30.9% 0.118 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #510E46

    #510E46

    oklch(30.8% 0.118 335.7)

  • #263600

    #263600

    oklch(30.7% 0.078 125.7)

  • #003934

    #003934

    oklch(31% 0.055 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #510E46

    #510E46

    oklch(30.8% 0.118 335.7)

  • #3A2F00

    #3A2F00

    oklch(30.8% 0.063 94.9)

  • #003641

    #003641

    oklch(30.7% 0.055 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #510E46

    #510E46

    oklch(30.8% 0.118 335.7)

  • #472700

    #472700

    oklch(30.8% 0.069 64.9)

  • #003B1F

    #003B1F

    oklch(31% 0.076 155.7)

  • #003255

    #003255

    oklch(30.8% 0.08 246.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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