#511145

Closest named color: Deep Violet (#490648). oklch(31% 0.113 336.6), rgb(81, 17, 69).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.113)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.51:1
White text13.85:1

Values

HEX#511145
RGBrgb(81, 17, 69)
HSLhsl(311, 65%, 19%)
OKLCHoklch(31% 0.113 336.6)

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 #511145 13.85:1 AAA Lc -102.9 Preferred for body text
Black text on #511145 1.51:1 Fails Lc 0.0 Not readable
#511145 text on white 13.85:1 AAA Lc 99.7 Preferred for body text
#511145 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

    #FEF1FA

    oklch(97.1% 0.018 336.5)

  2. Step 100

    100

    #FCE1F4

    oklch(93.7% 0.039 336.5)

  3. Step 200

    200

    #FAC7EC

    oklch(88.5% 0.075 336.3)

  4. Step 300

    300

    #F79EE1

    oklch(80.9% 0.134 336.3)

  5. Step 400

    400

    #EF60D1

    oklch(70.7% 0.215 336.7)

  6. Step 500

    500

    #E50EC4

    oklch(63.1% 0.274 336.8)

  7. Step 600

    600

    #C200A6

    oklch(55.5% 0.245 336.6)

  8. Step 700

    700

    #A4008C

    oklch(49% 0.216 336.7)

  9. Step 800

    800

    #880074

    oklch(42.7% 0.189 336.6)

  10. Step 900

    900

    #720061

    oklch(37.7% 0.166 336.5)

  11. Step 950

    950 (this color)

    #511145

    oklch(31% 0.113 336.6)

Export this scale for Tailwind in the Tailwind colors tool

#511145 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)#1226460.124
Deuteranopia (no green cones)#2830430.106
Tritanopia (no blue cones)#5615290.056
Achromatopsia (no color)#2D2D2D0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #511145

    #511145

    oklch(31% 0.113 336.6)

  • #003B20

    #003B20

    oklch(31% 0.074 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511145

    #511145

    oklch(31% 0.113 336.6)

  • #3F1B5C

    #3F1B5C

    oklch(31% 0.113 306.3)

  • #5B0A27

    #5B0A27

    oklch(31% 0.113 6.5)

Open the analogous palette in the generator

Split complementary

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

  • #511145

    #511145

    oklch(31% 0.113 336.6)

  • #263700

    #263700

    oklch(31% 0.079 126.3)

  • #003935

    #003935

    oklch(31% 0.054 187.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511145

    #511145

    oklch(31% 0.113 336.6)

  • #3A3000

    #3A3000

    oklch(31.1% 0.064 96.5)

  • #003742

    #003742

    oklch(31% 0.055 215.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511145

    #511145

    oklch(31% 0.113 336.6)

  • #472800

    #472800

    oklch(31% 0.069 66.5)

  • #003B20

    #003B20

    oklch(31% 0.074 156.5)

  • #003357

    #003357

    oklch(31.2% 0.081 246.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #511145.

Similar named colors

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

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