#511538

Closest named color: Deep Violet (#490648). oklch(30.8% 0.098 348.4), rgb(81, 21, 56).

Aa

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

About this color

#511538 is a dark, moderately saturated red. In OKLCH its lightness is 31%, its chroma 0.098 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.049 away. White text reads best on it, at 13.86:1.

Hue familyReds
Lightnessdark (31%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.51:1
White text13.86:1

Values

HEX#511538
RGBrgb(81, 21, 56)
HSLhsl(325, 59%, 20%)
OKLCHoklch(30.8% 0.098 348.4)

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 #511538 13.86:1 AAA Lc -103.0 Preferred for body text
Black text on #511538 1.51:1 Fails Lc 0.0 Not readable
#511538 text on white 13.86:1 AAA Lc 99.8 Preferred for body text
#511538 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

    #FEF1F7

    oklch(97% 0.016 347.6)

  2. Step 100

    100

    #FCE1EE

    oklch(93.5% 0.034 347.1)

  3. Step 200

    200

    #FBC8E0

    oklch(88.4% 0.065 348.6)

  4. Step 300

    300

    #F8A1CD

    oklch(80.8% 0.116 348.3)

  5. Step 400

    400

    #F068B4

    oklch(70.6% 0.186 348.2)

  6. Step 500

    500

    #E72FA1

    oklch(63.1% 0.237 348.5)

  7. Step 600

    600

    #CB008A

    oklch(55.7% 0.234 348.4)

  8. Step 700

    700

    #AB0074

    oklch(49% 0.206 348.3)

  9. Step 800

    800

    #8E005F

    oklch(42.8% 0.179 348.6)

  10. Step 900

    900

    #76044F

    oklch(37.6% 0.155 348.3)

  11. Step 950

    950 (this color)

    #511538

    oklch(30.8% 0.098 348.4)

Export this scale for Tailwind in the Tailwind colors tool

#511538 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)#1D26390.108
Deuteranopia (no green cones)#2E30370.096
Tritanopia (no blue cones)#5713240.038
Achromatopsia (no color)#2D2D2D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #511538

    #511538

    oklch(30.8% 0.098 348.4)

  • #003A2A

    #003A2A

    oklch(30.9% 0.063 168)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511538

    #511538

    oklch(30.8% 0.098 348.4)

  • #441C4F

    #441C4F

    oklch(30.9% 0.098 318.5)

  • #57131C

    #57131C

    oklch(30.8% 0.099 18)

Open the analogous palette in the generator

Split complementary

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

  • #511538

    #511538

    oklch(30.8% 0.098 348.4)

  • #113A00

    #113A00

    oklch(30.7% 0.096 138.5)

  • #00383A

    #00383A

    oklch(30.9% 0.053 198.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511538

    #511538

    oklch(30.8% 0.098 348.4)

  • #333200

    #333200

    oklch(30.8% 0.067 108.5)

  • #003548

    #003548

    oklch(30.8% 0.061 229.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511538

    #511538

    oklch(30.8% 0.098 348.4)

  • #412B00

    #412B00

    oklch(30.8% 0.064 78.5)

  • #003A2A

    #003A2A

    oklch(30.9% 0.063 168)

  • #0B2E60

    #0B2E60

    oklch(30.9% 0.097 258.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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