#511238

Closest named color: Deep Violet (#490648). oklch(30.5% 0.102 347.8), rgb(81, 18, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.49:1
White text14.06:1

Values

HEX#511238
RGBrgb(81, 18, 56)
HSLhsl(324, 64%, 19%)
OKLCHoklch(30.5% 0.102 347.8)

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 #511238 14.06:1 AAA Lc -103.1 Preferred for body text
Black text on #511238 1.49:1 Fails Lc 0.0 Not readable
#511238 text on white 14.06:1 AAA Lc 100.0 Preferred for body text
#511238 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

    #FEF1F7

    oklch(97% 0.016 347.6)

  2. Step 100

    100

    #FDE1EE

    oklch(93.6% 0.035 348)

  3. Step 200

    200

    #FCC8E1

    oklch(88.6% 0.067 348.1)

  4. Step 300

    300

    #FAA0CF

    oklch(80.9% 0.121 347.5)

  5. Step 400

    400

    #F365B6

    oklch(70.8% 0.194 347.9)

  6. Step 500

    500

    #EA24A4

    oklch(63.2% 0.248 347.8)

  7. Step 600

    600

    #CA008B

    oklch(55.6% 0.234 347.8)

  8. Step 700

    700

    #AB0075

    oklch(49.1% 0.206 347.8)

  9. Step 800

    800

    #8D0060

    oklch(42.6% 0.179 347.7)

  10. Step 900

    900

    #770050

    oklch(37.7% 0.158 347.9)

  11. Step 950

    950 (this color)

    #511238

    oklch(30.5% 0.102 347.8)

Export this scale for Tailwind in the Tailwind colors tool

#511238 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)#1B25390.113
Deuteranopia (no green cones)#2D30370.101
Tritanopia (no blue cones)#5710230.040
Achromatopsia (no color)#2C2C2C0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #511238

    #511238

    oklch(30.5% 0.102 347.8)

  • #003929

    #003929

    oklch(30.6% 0.062 167.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511238

    #511238

    oklch(30.5% 0.102 347.8)

  • #431950

    #431950

    oklch(30.4% 0.103 317.4)

  • #57101B

    #57101B

    oklch(30.4% 0.102 17.5)

Open the analogous palette in the generator

Split complementary

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

  • #511238

    #511238

    oklch(30.5% 0.102 347.8)

  • #133900

    #133900

    oklch(30.5% 0.094 137.7)

  • #003738

    #003738

    oklch(30.5% 0.052 196.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511238

    #511238

    oklch(30.5% 0.102 347.8)

  • #323100

    #323100

    oklch(30.4% 0.066 108.5)

  • #003446

    #003446

    oklch(30.4% 0.059 228.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511238

    #511238

    oklch(30.5% 0.102 347.8)

  • #402A00

    #402A00

    oklch(30.4% 0.063 78)

  • #003929

    #003929

    oklch(30.6% 0.062 167.7)

  • #062D61

    #062D61

    oklch(30.6% 0.102 257.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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