#540636

Closest named color: Deep Violet (#490648). oklch(29.9% 0.117 349.6), rgb(84, 6, 54).

Aa

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

About this color

#540636 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.117 and its hue 350°. 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.42:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.45:1
White text14.42:1

Values

HEX#540636
RGBrgb(84, 6, 54)
HSLhsl(323, 87%, 18%)
OKLCHoklch(29.9% 0.117 349.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 #540636 14.42:1 AAA Lc -103.2 Preferred for body text
Black text on #540636 1.45:1 Fails Lc 0.0 Not readable
#540636 text on white 14.42:1 AAA Lc 100.0 Preferred for body text
#540636 text on black 1.45: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

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FFE0EE

    oklch(93.6% 0.039 348.8)

  3. Step 200

    200

    #FFC6E0

    oklch(88.4% 0.073 349.6)

  4. Step 300

    300

    #FF9DCD

    oklch(80.9% 0.129 349.6)

  5. Step 400

    400

    #FE56B5

    oklch(70.7% 0.222 349.4)

  6. Step 500

    500

    #F000A0

    oklch(63% 0.263 349.6)

  7. Step 600

    600

    #CB0087

    oklch(55.6% 0.232 349.5)

  8. Step 700

    700

    #AC0071

    oklch(49.1% 0.205 349.8)

  9. Step 800

    800

    #8E005D

    oklch(42.7% 0.178 349.6)

  10. Step 900

    900

    #78004E

    oklch(37.8% 0.158 349.5)

  11. Step 950

    950 (this color)

    #540636

    oklch(29.9% 0.117 349.6)

Export this scale for Tailwind in the Tailwind colors tool

#540636 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)#1621370.132
Deuteranopia (no green cones)#2D2E340.114
Tritanopia (no blue cones)#5B011E0.045
Achromatopsia (no color)#2A2A2A0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #540636

    #540636

    oklch(29.9% 0.117 349.6)

  • #003729

    #003729

    oklch(30% 0.059 169.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540636

    #540636

    oklch(29.9% 0.117 349.6)

  • #461151

    #461151

    oklch(30% 0.118 320.1)

  • #5B0313

    #5B0313

    oklch(30.1% 0.117 20.1)

Open the analogous palette in the generator

Split complementary

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

  • #540636

    #540636

    oklch(29.9% 0.117 349.6)

  • #0C3800

    #0C3800

    oklch(29.9% 0.096 139.7)

  • #003537

    #003537

    oklch(29.9% 0.051 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540636

    #540636

    oklch(29.9% 0.117 349.6)

  • #303000

    #303000

    oklch(29.9% 0.065 109.8)

  • #003345

    #003345

    oklch(30% 0.059 228.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540636

    #540636

    oklch(29.9% 0.117 349.6)

  • #3E2900

    #3E2900

    oklch(29.9% 0.062 78.8)

  • #003729

    #003729

    oklch(30% 0.059 169.9)

  • #012967

    #012967

    oklch(30% 0.117 259.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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