#542266

Closest named color: Grape Purple (#5D1451). oklch(35.7% 0.122 316), rgb(84, 34, 102).

Aa

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

About this color

#542266 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.122 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.045 away. White text reads best on it, at 11.68:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.79:1
White text11.68:1

Values

HEX#542266
RGBrgb(84, 34, 102)
HSLhsl(284, 50%, 27%)
OKLCHoklch(35.7% 0.122 316)

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 #542266 11.68:1 AAA Lc -100.0 Preferred for body text
Black text on #542266 1.79:1 Fails Lc 7.6 Not readable
#542266 text on white 11.68:1 AAA Lc 96.3 Preferred for body text
#542266 text on black 1.79: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 900.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  5. Step 400

    400

    #C482DD

    oklch(70.7% 0.146 316.3)

  6. Step 500

    500

    #B45FD4

    oklch(63.2% 0.186 315.9)

  7. Step 600

    600

    #9F40C1

    oklch(55.6% 0.203 315.8)

  8. Step 700

    700

    #8831A6

    oklch(49.1% 0.187 316)

  9. Step 800

    800

    #6F2A87

    oklch(42.8% 0.156 316.1)

  10. Step 900

    900 (this color)

    #542266

    oklch(35.7% 0.122 316)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#542266 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)#0A35680.115
Deuteranopia (no green cones)#223A640.100
Tritanopia (no blue cones)#532E400.079
Achromatopsia (no color)#3838380.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #542266

    #542266

    oklch(35.7% 0.122 316)

  • #1F4800

    #1F4800

    oklch(35.8% 0.106 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542266

    #542266

    oklch(35.7% 0.122 316)

  • #3A2D78

    #3A2D78

    oklch(35.7% 0.123 286.4)

  • #651949

    #651949

    oklch(35.6% 0.12 346.2)

Open the analogous palette in the generator

Split complementary

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

  • #542266

    #542266

    oklch(35.7% 0.122 316)

  • #423E00

    #423E00

    oklch(35.6% 0.076 105.5)

  • #004833

    #004833

    oklch(35.6% 0.074 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542266

    #542266

    oklch(35.7% 0.122 316)

  • #523600

    #523600

    oklch(35.7% 0.075 76.7)

  • #004647

    #004647

    oklch(35.7% 0.061 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542266

    #542266

    oklch(35.7% 0.122 316)

  • #652700

    #652700

    oklch(35.8% 0.1 46.1)

  • #1F4800

    #1F4800

    oklch(35.8% 0.106 136)

  • #004357

    #004357

    oklch(35.6% 0.068 225.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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