#562F98

Closest named color: Rebecca Purple (#663399). oklch(41.6% 0.162 295.5), rgb(86, 47, 152).

Aa

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

About this color

#562F98 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.162 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.033 away. White text reads best on it, at 9.30:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.162)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.25:1
White text9.30:1

Values

HEX#562F98
RGBrgb(86, 47, 152)
HSLhsl(262, 53%, 39%)
OKLCHoklch(41.6% 0.162 295.5)

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 #562F98 9.30:1 AAA Lc -95.3 Preferred for body text
Black text on #562F98 2.25:1 Fails Lc 13.1 Not readable
#562F98 text on white 9.30:1 AAA Lc 90.9 Preferred for body text
#562F98 text on black 2.25:1 Fails Lc -11.4 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 800.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FB

    oklch(93.7% 0.027 295)

  3. Step 200

    200

    #DBD3F9

    oklch(88.5% 0.052 295)

  4. Step 300

    300

    #C5B5F8

    oklch(81% 0.095 295.2)

  5. Step 400

    400

    #A98BF4

    oklch(70.8% 0.151 295.4)

  6. Step 500

    500

    #9569EF

    oklch(63% 0.194 295.4)

  7. Step 600

    600

    #814CDE

    oklch(55.6% 0.211 295.4)

  8. Step 700

    700

    #6E3CC1

    oklch(49.2% 0.196 295.5)

  9. Step 800

    800 (this color)

    #562F98

    oklch(41.6% 0.162 295.5)

  10. Step 900

    900

    #492E7C

    oklch(37.7% 0.127 295.7)

  11. Step 950

    950

    #2A1C48

    oklch(26.9% 0.079 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#562F98 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)#00489B0.103
Deuteranopia (no green cones)#0045960.102
Tritanopia (no blue cones)#44485F0.126
Achromatopsia (no color)#4747470.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #562F98

    #562F98

    oklch(41.6% 0.162 295.5)

  • #4A5100

    #4A5100

    oklch(41.4% 0.094 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562F98

    #562F98

    oklch(41.6% 0.162 295.5)

  • #2041A2

    #2041A2

    oklch(41.5% 0.162 265.4)

  • #751E7A

    #751E7A

    oklch(41.5% 0.162 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #562F98

    #562F98

    oklch(41.6% 0.162 295.5)

  • #614800

    #614800

    oklch(41.7% 0.085 85.8)

  • #005D17

    #005D17

    oklch(41.6% 0.129 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562F98

    #562F98

    oklch(41.6% 0.162 295.5)

  • #753A00

    #753A00

    oklch(41.7% 0.103 55.5)

  • #00594A

    #00594A

    oklch(41.5% 0.077 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562F98

    #562F98

    oklch(41.6% 0.162 295.5)

  • #900B16

    #900B16

    oklch(41.6% 0.162 25.5)

  • #4A5100

    #4A5100

    oklch(41.4% 0.094 115.4)

  • #00575E

    #00575E

    oklch(41.7% 0.071 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #562F98 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.